InteractiveControl_server_g.h 69 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000
  1. #ifndef __INTERACTIVECONTROL_SERVER_G_H
  2. #define __INTERACTIVECONTROL_SERVER_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "InteractiveControl_def_g.h"
  6. namespace InteractiveControl {
  7. class UIService_ServerSessionBase : public CServerSessionBase
  8. {
  9. public:
  10. UIService_ServerSessionBase()
  11. {
  12. /// override by user
  13. }
  14. virtual ~UIService_ServerSessionBase()
  15. {
  16. /// override by user
  17. }
  18. virtual bool IsExclusive() { return false; }
  19. virtual bool IsSessionOverlap() { return true; }
  20. virtual ErrorCodeEnum GetMessageAttr(DWORD dwMessageID, DWORD dwSignature, bool &bOverlap)
  21. {
  22. ErrorCodeEnum Error = Error_Succeed;
  23. switch (dwMessageID) {
  24. case UIService_Method_SetUIState:
  25. if (dwSignature == UIService_MethodSignature_SetUIState) {
  26. bOverlap = true;
  27. } else {
  28. Error = Error_MethodSignatureFailed;
  29. }
  30. break;
  31. case UIService_Method_SendAgentText:
  32. if (dwSignature == UIService_MethodSignature_SendAgentText) {
  33. bOverlap = true;
  34. } else {
  35. Error = Error_MethodSignatureFailed;
  36. }
  37. break;
  38. case UIService_Method_SetMenuTree:
  39. if (dwSignature == UIService_MethodSignature_SetMenuTree) {
  40. bOverlap = true;
  41. } else {
  42. Error = Error_MethodSignatureFailed;
  43. }
  44. break;
  45. case UIService_Method_SetMenuPath:
  46. if (dwSignature == UIService_MethodSignature_SetMenuPath) {
  47. bOverlap = true;
  48. } else {
  49. Error = Error_MethodSignatureFailed;
  50. }
  51. break;
  52. case UIService_Method_SendFrontSyncData:
  53. if (dwSignature == UIService_MethodSignature_SendFrontSyncData) {
  54. bOverlap = true;
  55. } else {
  56. Error = Error_MethodSignatureFailed;
  57. }
  58. break;
  59. case UIService_Method_StartRecordVideo:
  60. if (dwSignature == UIService_MethodSignature_StartRecordVideo) {
  61. bOverlap = true;
  62. } else {
  63. Error = Error_MethodSignatureFailed;
  64. }
  65. break;
  66. case UIService_Method_StopRecordVideo:
  67. if (dwSignature == UIService_MethodSignature_StopRecordVideo) {
  68. bOverlap = true;
  69. } else {
  70. Error = Error_MethodSignatureFailed;
  71. }
  72. break;
  73. case UIService_Method_ShowVideo:
  74. if (dwSignature == UIService_MethodSignature_ShowVideo) {
  75. bOverlap = true;
  76. } else {
  77. Error = Error_MethodSignatureFailed;
  78. }
  79. break;
  80. case UIService_Method_SaveVideo:
  81. if (dwSignature == UIService_MethodSignature_SaveVideo) {
  82. bOverlap = true;
  83. } else {
  84. Error = Error_MethodSignatureFailed;
  85. }
  86. break;
  87. case UIService_Method_DeleteVideo:
  88. if (dwSignature == UIService_MethodSignature_DeleteVideo) {
  89. bOverlap = true;
  90. } else {
  91. Error = Error_MethodSignatureFailed;
  92. }
  93. break;
  94. case UIService_Method_StartPlayVideo:
  95. if (dwSignature == UIService_MethodSignature_StartPlayVideo) {
  96. bOverlap = true;
  97. } else {
  98. Error = Error_MethodSignatureFailed;
  99. }
  100. break;
  101. case UIService_Method_StartPlayAudio:
  102. if (dwSignature == UIService_MethodSignature_StartPlayAudio) {
  103. bOverlap = true;
  104. } else {
  105. Error = Error_MethodSignatureFailed;
  106. }
  107. break;
  108. case UIService_Method_StartPlayImage:
  109. if (dwSignature == UIService_MethodSignature_StartPlayImage) {
  110. bOverlap = true;
  111. } else {
  112. Error = Error_MethodSignatureFailed;
  113. }
  114. break;
  115. case UIService_Method_StopPlayVideo:
  116. if (dwSignature == UIService_MethodSignature_StopPlayVideo) {
  117. bOverlap = true;
  118. } else {
  119. Error = Error_MethodSignatureFailed;
  120. }
  121. break;
  122. case UIService_Method_StopPlayAudio:
  123. if (dwSignature == UIService_MethodSignature_StopPlayAudio) {
  124. bOverlap = true;
  125. } else {
  126. Error = Error_MethodSignatureFailed;
  127. }
  128. break;
  129. case UIService_Method_StopPlayImage:
  130. if (dwSignature == UIService_MethodSignature_StopPlayImage) {
  131. bOverlap = true;
  132. } else {
  133. Error = Error_MethodSignatureFailed;
  134. }
  135. break;
  136. case UIService_Method_StartPhotograph:
  137. if (dwSignature == UIService_MethodSignature_StartPhotograph) {
  138. bOverlap = true;
  139. } else {
  140. Error = Error_MethodSignatureFailed;
  141. }
  142. break;
  143. case UIService_Method_StopPhotograph:
  144. if (dwSignature == UIService_MethodSignature_StopPhotograph) {
  145. bOverlap = true;
  146. } else {
  147. Error = Error_MethodSignatureFailed;
  148. }
  149. break;
  150. case UIService_Method_SendOperateState:
  151. if (dwSignature == UIService_MethodSignature_SendOperateState) {
  152. bOverlap = true;
  153. } else {
  154. Error = Error_MethodSignatureFailed;
  155. }
  156. break;
  157. case UIService_Method_CheckContinuRecord:
  158. if (dwSignature == UIService_MethodSignature_CheckContinuRecord) {
  159. bOverlap = true;
  160. } else {
  161. Error = Error_MethodSignatureFailed;
  162. }
  163. break;
  164. case UIService_Method_StartContinuRecord:
  165. if (dwSignature == UIService_MethodSignature_StartContinuRecord) {
  166. bOverlap = true;
  167. } else {
  168. Error = Error_MethodSignatureFailed;
  169. }
  170. break;
  171. case UIService_Method_StopContinuRecord:
  172. if (dwSignature == UIService_MethodSignature_StopContinuRecord) {
  173. bOverlap = true;
  174. } else {
  175. Error = Error_MethodSignatureFailed;
  176. }
  177. break;
  178. case UIService_Method_StartEchoContinuRecord:
  179. if (dwSignature == UIService_MethodSignature_StartEchoContinuRecord) {
  180. bOverlap = true;
  181. } else {
  182. Error = Error_MethodSignatureFailed;
  183. }
  184. break;
  185. case UIService_Method_StopEchoContinuRecord:
  186. if (dwSignature == UIService_MethodSignature_StopEchoContinuRecord) {
  187. bOverlap = true;
  188. } else {
  189. Error = Error_MethodSignatureFailed;
  190. }
  191. break;
  192. case UIService_Method_HideOnlineVideo:
  193. if (dwSignature == UIService_MethodSignature_HideOnlineVideo) {
  194. bOverlap = true;
  195. } else {
  196. Error = Error_MethodSignatureFailed;
  197. }
  198. break;
  199. case UIService_Method_ShowOnlineVideo:
  200. if (dwSignature == UIService_MethodSignature_ShowOnlineVideo) {
  201. bOverlap = true;
  202. } else {
  203. Error = Error_MethodSignatureFailed;
  204. }
  205. break;
  206. case UIService_Method_AnswerPacket:
  207. if (dwSignature == UIService_MethodSignature_AnswerPacket) {
  208. bOverlap = true;
  209. } else {
  210. Error = Error_MethodSignatureFailed;
  211. }
  212. break;
  213. case UIService_Method_GetLocalVideoVolume:
  214. if (dwSignature == UIService_MethodSignature_GetLocalVideoVolume) {
  215. bOverlap = true;
  216. } else {
  217. Error = Error_MethodSignatureFailed;
  218. }
  219. break;
  220. case UIService_Method_SetLocalVideoVolume:
  221. if (dwSignature == UIService_MethodSignature_SetLocalVideoVolume) {
  222. bOverlap = true;
  223. } else {
  224. Error = Error_MethodSignatureFailed;
  225. }
  226. break;
  227. case UIService_Method_SendBusinessDesktopCmd:
  228. if (dwSignature == UIService_MethodSignature_SendBusinessDesktopCmd) {
  229. bOverlap = true;
  230. } else {
  231. Error = Error_MethodSignatureFailed;
  232. }
  233. break;
  234. case UIService_Method_HideLocalVideo:
  235. if (dwSignature == UIService_MethodSignature_HideLocalVideo) {
  236. bOverlap = true;
  237. } else {
  238. Error = Error_MethodSignatureFailed;
  239. }
  240. break;
  241. case UIService_Method_ShowLocalVideo:
  242. if (dwSignature == UIService_MethodSignature_ShowLocalVideo) {
  243. bOverlap = true;
  244. } else {
  245. Error = Error_MethodSignatureFailed;
  246. }
  247. break;
  248. case UIService_Method_HidePersonArea:
  249. if (dwSignature == UIService_MethodSignature_HidePersonArea) {
  250. bOverlap = true;
  251. } else {
  252. Error = Error_MethodSignatureFailed;
  253. }
  254. break;
  255. case UIService_Method_ShowPersonArea:
  256. if (dwSignature == UIService_MethodSignature_ShowPersonArea) {
  257. bOverlap = true;
  258. } else {
  259. Error = Error_MethodSignatureFailed;
  260. }
  261. break;
  262. case UIService_Method_VideoAppendWaterMark:
  263. if (dwSignature == UIService_MethodSignature_VideoAppendWaterMark) {
  264. bOverlap = true;
  265. } else {
  266. Error = Error_MethodSignatureFailed;
  267. }
  268. break;
  269. case UIService_Method_GetLocalAudioVolume:
  270. if (dwSignature == UIService_MethodSignature_GetLocalAudioVolume) {
  271. bOverlap = true;
  272. } else {
  273. Error = Error_MethodSignatureFailed;
  274. }
  275. break;
  276. case UIService_Method_SetLocalAudioVolume:
  277. if (dwSignature == UIService_MethodSignature_SetLocalAudioVolume) {
  278. bOverlap = true;
  279. } else {
  280. Error = Error_MethodSignatureFailed;
  281. }
  282. break;
  283. case UIService_Method_StartRemoteRecord:
  284. if (dwSignature == UIService_MethodSignature_StartRemoteRecord) {
  285. bOverlap = true;
  286. } else {
  287. Error = Error_MethodSignatureFailed;
  288. }
  289. break;
  290. case UIService_Method_StopRemoteRecord:
  291. if (dwSignature == UIService_MethodSignature_StopRemoteRecord) {
  292. bOverlap = true;
  293. } else {
  294. Error = Error_MethodSignatureFailed;
  295. }
  296. break;
  297. case UIService_Method_StartSalesRecord:
  298. if (dwSignature == UIService_MethodSignature_StartSalesRecord) {
  299. bOverlap = true;
  300. } else {
  301. Error = Error_MethodSignatureFailed;
  302. }
  303. break;
  304. case UIService_Method_StartRecordPreview:
  305. if (dwSignature == UIService_MethodSignature_StartRecordPreview) {
  306. bOverlap = true;
  307. } else {
  308. Error = Error_MethodSignatureFailed;
  309. }
  310. break;
  311. case UIService_Method_StartSalesVideoRecord:
  312. if (dwSignature == UIService_MethodSignature_StartSalesVideoRecord) {
  313. bOverlap = true;
  314. } else {
  315. Error = Error_MethodSignatureFailed;
  316. }
  317. break;
  318. case UIService_Method_AjustVideoPreviewSize:
  319. if (dwSignature == UIService_MethodSignature_AjustVideoPreviewSize) {
  320. bOverlap = true;
  321. } else {
  322. Error = Error_MethodSignatureFailed;
  323. }
  324. break;
  325. case UIService_Method_StopShowVideo:
  326. if (dwSignature == UIService_MethodSignature_StopShowVideo) {
  327. bOverlap = true;
  328. } else {
  329. Error = Error_MethodSignatureFailed;
  330. }
  331. break;
  332. case UIService_Method_StartPlaySalesRecord:
  333. if (dwSignature == UIService_MethodSignature_StartPlaySalesRecord) {
  334. bOverlap = true;
  335. } else {
  336. Error = Error_MethodSignatureFailed;
  337. }
  338. break;
  339. case UIService_Method_SendH5SyncData:
  340. if (dwSignature == UIService_MethodSignature_SendH5SyncData) {
  341. bOverlap = true;
  342. } else {
  343. Error = Error_MethodSignatureFailed;
  344. }
  345. break;
  346. case UIService_Method_GetHandfreeOutVolume:
  347. if (dwSignature == UIService_MethodSignature_GetHandfreeOutVolume) {
  348. bOverlap = true;
  349. } else {
  350. Error = Error_MethodSignatureFailed;
  351. }
  352. break;
  353. case UIService_Method_SetHandfreeOutVolume:
  354. if (dwSignature == UIService_MethodSignature_SetHandfreeOutVolume) {
  355. bOverlap = true;
  356. } else {
  357. Error = Error_MethodSignatureFailed;
  358. }
  359. break;
  360. case UIService_Method_GetPickupOutVolume:
  361. if (dwSignature == UIService_MethodSignature_GetPickupOutVolume) {
  362. bOverlap = true;
  363. } else {
  364. Error = Error_MethodSignatureFailed;
  365. }
  366. break;
  367. case UIService_Method_SetPickupOutVolume:
  368. if (dwSignature == UIService_MethodSignature_SetPickupOutVolume) {
  369. bOverlap = true;
  370. } else {
  371. Error = Error_MethodSignatureFailed;
  372. }
  373. break;
  374. case UIService_Method_StartPlayNotice:
  375. if (dwSignature == UIService_MethodSignature_StartPlayNotice) {
  376. bOverlap = true;
  377. } else {
  378. Error = Error_MethodSignatureFailed;
  379. }
  380. break;
  381. case UIService_Method_StopPlayNotice:
  382. if (dwSignature == UIService_MethodSignature_StopPlayNotice) {
  383. bOverlap = true;
  384. } else {
  385. Error = Error_MethodSignatureFailed;
  386. }
  387. break;
  388. case UIService_Method_GetRecordMode:
  389. if (dwSignature == UIService_MethodSignature_GetRecordMode) {
  390. bOverlap = true;
  391. } else {
  392. Error = Error_MethodSignatureFailed;
  393. }
  394. break;
  395. case UIService_Method_StartTransactionRecord:
  396. if (dwSignature == UIService_MethodSignature_StartTransactionRecord) {
  397. bOverlap = true;
  398. } else {
  399. Error = Error_MethodSignatureFailed;
  400. }
  401. break;
  402. case UIService_Method_StopTransactionRecord:
  403. if (dwSignature == UIService_MethodSignature_StopTransactionRecord) {
  404. bOverlap = true;
  405. } else {
  406. Error = Error_MethodSignatureFailed;
  407. }
  408. break;
  409. case UIService_Method_GetCallState:
  410. if (dwSignature == UIService_MethodSignature_GetCallState) {
  411. bOverlap = true;
  412. } else {
  413. Error = Error_MethodSignatureFailed;
  414. }
  415. break;
  416. case UIService_Method_HangupCall:
  417. if (dwSignature == UIService_MethodSignature_HangupCall) {
  418. bOverlap = true;
  419. } else {
  420. Error = Error_MethodSignatureFailed;
  421. }
  422. break;
  423. case UIService_Method_GetTransactionRecordState:
  424. if (dwSignature == UIService_MethodSignature_GetTransactionRecordState) {
  425. bOverlap = true;
  426. } else {
  427. Error = Error_MethodSignatureFailed;
  428. }
  429. break;
  430. case UIService_Method_GetHandfreeInVolume:
  431. if (dwSignature == UIService_MethodSignature_GetHandfreeInVolume) {
  432. bOverlap = true;
  433. } else {
  434. Error = Error_MethodSignatureFailed;
  435. }
  436. break;
  437. case UIService_Method_SetHandfreeInVolume:
  438. if (dwSignature == UIService_MethodSignature_SetHandfreeInVolume) {
  439. bOverlap = true;
  440. } else {
  441. Error = Error_MethodSignatureFailed;
  442. }
  443. break;
  444. case UIService_Method_GetPickupInVolume:
  445. if (dwSignature == UIService_MethodSignature_GetPickupInVolume) {
  446. bOverlap = true;
  447. } else {
  448. Error = Error_MethodSignatureFailed;
  449. }
  450. break;
  451. case UIService_Method_SetPickupInVolume:
  452. if (dwSignature == UIService_MethodSignature_SetPickupInVolume) {
  453. bOverlap = true;
  454. } else {
  455. Error = Error_MethodSignatureFailed;
  456. }
  457. break;
  458. case UIService_Method_GetAudioInDevices:
  459. if (dwSignature == UIService_MethodSignature_GetAudioInDevices) {
  460. bOverlap = true;
  461. } else {
  462. Error = Error_MethodSignatureFailed;
  463. }
  464. break;
  465. case UIService_Method_GetAudioOutDevices:
  466. if (dwSignature == UIService_MethodSignature_GetAudioOutDevices) {
  467. bOverlap = true;
  468. } else {
  469. Error = Error_MethodSignatureFailed;
  470. }
  471. break;
  472. case UIService_Method_GetCameraInfo:
  473. if (dwSignature == UIService_MethodSignature_GetCameraInfo) {
  474. bOverlap = true;
  475. } else {
  476. Error = Error_MethodSignatureFailed;
  477. }
  478. break;
  479. case UIService_Method_GetMediaDeviceInfo:
  480. if (dwSignature == UIService_MethodSignature_GetMediaDeviceInfo) {
  481. bOverlap = true;
  482. } else {
  483. Error = Error_MethodSignatureFailed;
  484. }
  485. break;
  486. case UIService_Method_GetPickUpStatus:
  487. if (dwSignature == UIService_MethodSignature_GetPickUpStatus) {
  488. bOverlap = true;
  489. } else {
  490. Error = Error_MethodSignatureFailed;
  491. }
  492. break;
  493. case UIService_Method_GetCameraState:
  494. if (dwSignature == UIService_MethodSignature_GetCameraState) {
  495. bOverlap = true;
  496. } else {
  497. Error = Error_MethodSignatureFailed;
  498. }
  499. break;
  500. case UIService_Method_SetRemoteRecordCamera:
  501. if (dwSignature == UIService_MethodSignature_SetRemoteRecordCamera) {
  502. bOverlap = true;
  503. } else {
  504. Error = Error_MethodSignatureFailed;
  505. }
  506. break;
  507. case UIService_Method_StartCameraCapture:
  508. if (dwSignature == UIService_MethodSignature_StartCameraCapture) {
  509. bOverlap = true;
  510. } else {
  511. Error = Error_MethodSignatureFailed;
  512. }
  513. break;
  514. case UIService_Method_StopCameraCapture:
  515. if (dwSignature == UIService_MethodSignature_StopCameraCapture) {
  516. bOverlap = true;
  517. } else {
  518. Error = Error_MethodSignatureFailed;
  519. }
  520. break;
  521. default:
  522. Error = Error_MethodNotFound;
  523. break;
  524. }
  525. return Error;
  526. }
  527. int CheckMessageSignature(DWORD dwMessageID, DWORD dwSignature)
  528. {
  529. ErrorCodeEnum Error = Error_Succeed;
  530. switch (dwMessageID) {
  531. case UIService_Method_SetUIState:
  532. if (dwSignature != UIService_MethodSignature_SetUIState) {
  533. Error = Error_MethodSignatureFailed;
  534. }
  535. break;
  536. case UIService_Method_SendAgentText:
  537. if (dwSignature != UIService_MethodSignature_SendAgentText) {
  538. Error = Error_MethodSignatureFailed;
  539. }
  540. break;
  541. case UIService_Method_SetMenuTree:
  542. if (dwSignature != UIService_MethodSignature_SetMenuTree) {
  543. Error = Error_MethodSignatureFailed;
  544. }
  545. break;
  546. case UIService_Method_SetMenuPath:
  547. if (dwSignature != UIService_MethodSignature_SetMenuPath) {
  548. Error = Error_MethodSignatureFailed;
  549. }
  550. break;
  551. case UIService_Method_SendFrontSyncData:
  552. if (dwSignature != UIService_MethodSignature_SendFrontSyncData) {
  553. Error = Error_MethodSignatureFailed;
  554. }
  555. break;
  556. case UIService_Method_StartRecordVideo:
  557. if (dwSignature != UIService_MethodSignature_StartRecordVideo) {
  558. Error = Error_MethodSignatureFailed;
  559. }
  560. break;
  561. case UIService_Method_StopRecordVideo:
  562. if (dwSignature != UIService_MethodSignature_StopRecordVideo) {
  563. Error = Error_MethodSignatureFailed;
  564. }
  565. break;
  566. case UIService_Method_ShowVideo:
  567. if (dwSignature != UIService_MethodSignature_ShowVideo) {
  568. Error = Error_MethodSignatureFailed;
  569. }
  570. break;
  571. case UIService_Method_SaveVideo:
  572. if (dwSignature != UIService_MethodSignature_SaveVideo) {
  573. Error = Error_MethodSignatureFailed;
  574. }
  575. break;
  576. case UIService_Method_DeleteVideo:
  577. if (dwSignature != UIService_MethodSignature_DeleteVideo) {
  578. Error = Error_MethodSignatureFailed;
  579. }
  580. break;
  581. case UIService_Method_StartPlayVideo:
  582. if (dwSignature != UIService_MethodSignature_StartPlayVideo) {
  583. Error = Error_MethodSignatureFailed;
  584. }
  585. break;
  586. case UIService_Method_StartPlayAudio:
  587. if (dwSignature != UIService_MethodSignature_StartPlayAudio) {
  588. Error = Error_MethodSignatureFailed;
  589. }
  590. break;
  591. case UIService_Method_StartPlayImage:
  592. if (dwSignature != UIService_MethodSignature_StartPlayImage) {
  593. Error = Error_MethodSignatureFailed;
  594. }
  595. break;
  596. case UIService_Method_StopPlayVideo:
  597. if (dwSignature != UIService_MethodSignature_StopPlayVideo) {
  598. Error = Error_MethodSignatureFailed;
  599. }
  600. break;
  601. case UIService_Method_StopPlayAudio:
  602. if (dwSignature != UIService_MethodSignature_StopPlayAudio) {
  603. Error = Error_MethodSignatureFailed;
  604. }
  605. break;
  606. case UIService_Method_StopPlayImage:
  607. if (dwSignature != UIService_MethodSignature_StopPlayImage) {
  608. Error = Error_MethodSignatureFailed;
  609. }
  610. break;
  611. case UIService_Method_StartPhotograph:
  612. if (dwSignature != UIService_MethodSignature_StartPhotograph) {
  613. Error = Error_MethodSignatureFailed;
  614. }
  615. break;
  616. case UIService_Method_StopPhotograph:
  617. if (dwSignature != UIService_MethodSignature_StopPhotograph) {
  618. Error = Error_MethodSignatureFailed;
  619. }
  620. break;
  621. case UIService_Method_SendOperateState:
  622. if (dwSignature != UIService_MethodSignature_SendOperateState) {
  623. Error = Error_MethodSignatureFailed;
  624. }
  625. break;
  626. case UIService_Method_CheckContinuRecord:
  627. if (dwSignature != UIService_MethodSignature_CheckContinuRecord) {
  628. Error = Error_MethodSignatureFailed;
  629. }
  630. break;
  631. case UIService_Method_StartContinuRecord:
  632. if (dwSignature != UIService_MethodSignature_StartContinuRecord) {
  633. Error = Error_MethodSignatureFailed;
  634. }
  635. break;
  636. case UIService_Method_StopContinuRecord:
  637. if (dwSignature != UIService_MethodSignature_StopContinuRecord) {
  638. Error = Error_MethodSignatureFailed;
  639. }
  640. break;
  641. case UIService_Method_StartEchoContinuRecord:
  642. if (dwSignature != UIService_MethodSignature_StartEchoContinuRecord) {
  643. Error = Error_MethodSignatureFailed;
  644. }
  645. break;
  646. case UIService_Method_StopEchoContinuRecord:
  647. if (dwSignature != UIService_MethodSignature_StopEchoContinuRecord) {
  648. Error = Error_MethodSignatureFailed;
  649. }
  650. break;
  651. case UIService_Method_HideOnlineVideo:
  652. if (dwSignature != UIService_MethodSignature_HideOnlineVideo) {
  653. Error = Error_MethodSignatureFailed;
  654. }
  655. break;
  656. case UIService_Method_ShowOnlineVideo:
  657. if (dwSignature != UIService_MethodSignature_ShowOnlineVideo) {
  658. Error = Error_MethodSignatureFailed;
  659. }
  660. break;
  661. case UIService_Method_AnswerPacket:
  662. if (dwSignature != UIService_MethodSignature_AnswerPacket) {
  663. Error = Error_MethodSignatureFailed;
  664. }
  665. break;
  666. case UIService_Method_GetLocalVideoVolume:
  667. if (dwSignature != UIService_MethodSignature_GetLocalVideoVolume) {
  668. Error = Error_MethodSignatureFailed;
  669. }
  670. break;
  671. case UIService_Method_SetLocalVideoVolume:
  672. if (dwSignature != UIService_MethodSignature_SetLocalVideoVolume) {
  673. Error = Error_MethodSignatureFailed;
  674. }
  675. break;
  676. case UIService_Method_SendBusinessDesktopCmd:
  677. if (dwSignature != UIService_MethodSignature_SendBusinessDesktopCmd) {
  678. Error = Error_MethodSignatureFailed;
  679. }
  680. break;
  681. case UIService_Method_HideLocalVideo:
  682. if (dwSignature != UIService_MethodSignature_HideLocalVideo) {
  683. Error = Error_MethodSignatureFailed;
  684. }
  685. break;
  686. case UIService_Method_ShowLocalVideo:
  687. if (dwSignature != UIService_MethodSignature_ShowLocalVideo) {
  688. Error = Error_MethodSignatureFailed;
  689. }
  690. break;
  691. case UIService_Method_HidePersonArea:
  692. if (dwSignature != UIService_MethodSignature_HidePersonArea) {
  693. Error = Error_MethodSignatureFailed;
  694. }
  695. break;
  696. case UIService_Method_ShowPersonArea:
  697. if (dwSignature != UIService_MethodSignature_ShowPersonArea) {
  698. Error = Error_MethodSignatureFailed;
  699. }
  700. break;
  701. case UIService_Method_VideoAppendWaterMark:
  702. if (dwSignature != UIService_MethodSignature_VideoAppendWaterMark) {
  703. Error = Error_MethodSignatureFailed;
  704. }
  705. break;
  706. case UIService_Method_GetLocalAudioVolume:
  707. if (dwSignature != UIService_MethodSignature_GetLocalAudioVolume) {
  708. Error = Error_MethodSignatureFailed;
  709. }
  710. break;
  711. case UIService_Method_SetLocalAudioVolume:
  712. if (dwSignature != UIService_MethodSignature_SetLocalAudioVolume) {
  713. Error = Error_MethodSignatureFailed;
  714. }
  715. break;
  716. case UIService_Method_StartRemoteRecord:
  717. if (dwSignature != UIService_MethodSignature_StartRemoteRecord) {
  718. Error = Error_MethodSignatureFailed;
  719. }
  720. break;
  721. case UIService_Method_StopRemoteRecord:
  722. if (dwSignature != UIService_MethodSignature_StopRemoteRecord) {
  723. Error = Error_MethodSignatureFailed;
  724. }
  725. break;
  726. case UIService_Method_StartSalesRecord:
  727. if (dwSignature != UIService_MethodSignature_StartSalesRecord) {
  728. Error = Error_MethodSignatureFailed;
  729. }
  730. break;
  731. case UIService_Method_StartRecordPreview:
  732. if (dwSignature != UIService_MethodSignature_StartRecordPreview) {
  733. Error = Error_MethodSignatureFailed;
  734. }
  735. break;
  736. case UIService_Method_StartSalesVideoRecord:
  737. if (dwSignature != UIService_MethodSignature_StartSalesVideoRecord) {
  738. Error = Error_MethodSignatureFailed;
  739. }
  740. break;
  741. case UIService_Method_AjustVideoPreviewSize:
  742. if (dwSignature != UIService_MethodSignature_AjustVideoPreviewSize) {
  743. Error = Error_MethodSignatureFailed;
  744. }
  745. break;
  746. case UIService_Method_StopShowVideo:
  747. if (dwSignature != UIService_MethodSignature_StopShowVideo) {
  748. Error = Error_MethodSignatureFailed;
  749. }
  750. break;
  751. case UIService_Method_StartPlaySalesRecord:
  752. if (dwSignature != UIService_MethodSignature_StartPlaySalesRecord) {
  753. Error = Error_MethodSignatureFailed;
  754. }
  755. break;
  756. case UIService_Method_SendH5SyncData:
  757. if (dwSignature != UIService_MethodSignature_SendH5SyncData) {
  758. Error = Error_MethodSignatureFailed;
  759. }
  760. break;
  761. case UIService_Method_GetHandfreeOutVolume:
  762. if (dwSignature != UIService_MethodSignature_GetHandfreeOutVolume) {
  763. Error = Error_MethodSignatureFailed;
  764. }
  765. break;
  766. case UIService_Method_SetHandfreeOutVolume:
  767. if (dwSignature != UIService_MethodSignature_SetHandfreeOutVolume) {
  768. Error = Error_MethodSignatureFailed;
  769. }
  770. break;
  771. case UIService_Method_GetPickupOutVolume:
  772. if (dwSignature != UIService_MethodSignature_GetPickupOutVolume) {
  773. Error = Error_MethodSignatureFailed;
  774. }
  775. break;
  776. case UIService_Method_SetPickupOutVolume:
  777. if (dwSignature != UIService_MethodSignature_SetPickupOutVolume) {
  778. Error = Error_MethodSignatureFailed;
  779. }
  780. break;
  781. case UIService_Method_StartPlayNotice:
  782. if (dwSignature != UIService_MethodSignature_StartPlayNotice) {
  783. Error = Error_MethodSignatureFailed;
  784. }
  785. break;
  786. case UIService_Method_StopPlayNotice:
  787. if (dwSignature != UIService_MethodSignature_StopPlayNotice) {
  788. Error = Error_MethodSignatureFailed;
  789. }
  790. break;
  791. case UIService_Method_GetRecordMode:
  792. if (dwSignature != UIService_MethodSignature_GetRecordMode) {
  793. Error = Error_MethodSignatureFailed;
  794. }
  795. break;
  796. case UIService_Method_StartTransactionRecord:
  797. if (dwSignature != UIService_MethodSignature_StartTransactionRecord) {
  798. Error = Error_MethodSignatureFailed;
  799. }
  800. break;
  801. case UIService_Method_StopTransactionRecord:
  802. if (dwSignature != UIService_MethodSignature_StopTransactionRecord) {
  803. Error = Error_MethodSignatureFailed;
  804. }
  805. break;
  806. case UIService_Method_GetCallState:
  807. if (dwSignature != UIService_MethodSignature_GetCallState) {
  808. Error = Error_MethodSignatureFailed;
  809. }
  810. break;
  811. case UIService_Method_HangupCall:
  812. if (dwSignature != UIService_MethodSignature_HangupCall) {
  813. Error = Error_MethodSignatureFailed;
  814. }
  815. break;
  816. case UIService_Method_GetTransactionRecordState:
  817. if (dwSignature != UIService_MethodSignature_GetTransactionRecordState) {
  818. Error = Error_MethodSignatureFailed;
  819. }
  820. break;
  821. case UIService_Method_GetHandfreeInVolume:
  822. if (dwSignature != UIService_MethodSignature_GetHandfreeInVolume) {
  823. Error = Error_MethodSignatureFailed;
  824. }
  825. break;
  826. case UIService_Method_SetHandfreeInVolume:
  827. if (dwSignature != UIService_MethodSignature_SetHandfreeInVolume) {
  828. Error = Error_MethodSignatureFailed;
  829. }
  830. break;
  831. case UIService_Method_GetPickupInVolume:
  832. if (dwSignature != UIService_MethodSignature_GetPickupInVolume) {
  833. Error = Error_MethodSignatureFailed;
  834. }
  835. break;
  836. case UIService_Method_SetPickupInVolume:
  837. if (dwSignature != UIService_MethodSignature_SetPickupInVolume) {
  838. Error = Error_MethodSignatureFailed;
  839. }
  840. break;
  841. case UIService_Method_GetAudioInDevices:
  842. if (dwSignature != UIService_MethodSignature_GetAudioInDevices) {
  843. Error = Error_MethodSignatureFailed;
  844. }
  845. break;
  846. case UIService_Method_GetAudioOutDevices:
  847. if (dwSignature != UIService_MethodSignature_GetAudioOutDevices) {
  848. Error = Error_MethodSignatureFailed;
  849. }
  850. break;
  851. case UIService_Method_GetCameraInfo:
  852. if (dwSignature != UIService_MethodSignature_GetCameraInfo) {
  853. Error = Error_MethodSignatureFailed;
  854. }
  855. break;
  856. case UIService_Method_GetMediaDeviceInfo:
  857. if (dwSignature != UIService_MethodSignature_GetMediaDeviceInfo) {
  858. Error = Error_MethodSignatureFailed;
  859. }
  860. break;
  861. case UIService_Method_GetPickUpStatus:
  862. if (dwSignature != UIService_MethodSignature_GetPickUpStatus) {
  863. Error = Error_MethodSignatureFailed;
  864. }
  865. break;
  866. case UIService_Method_GetCameraState:
  867. if (dwSignature != UIService_MethodSignature_GetCameraState) {
  868. Error = Error_MethodSignatureFailed;
  869. }
  870. break;
  871. case UIService_Method_SetRemoteRecordCamera:
  872. if (dwSignature != UIService_MethodSignature_SetRemoteRecordCamera) {
  873. Error = Error_MethodSignatureFailed;
  874. }
  875. break;
  876. case UIService_Method_StartCameraCapture:
  877. if (dwSignature != UIService_MethodSignature_StartCameraCapture) {
  878. Error = Error_MethodSignatureFailed;
  879. }
  880. break;
  881. case UIService_Method_StopCameraCapture:
  882. if (dwSignature != UIService_MethodSignature_StopCameraCapture) {
  883. Error = Error_MethodSignatureFailed;
  884. }
  885. break;
  886. default:
  887. Error = Error_MethodNotFound;
  888. break;
  889. }
  890. return Error;
  891. }
  892. virtual void Handle_SetUIState(SpOnewayCallContext<UIService_SetUIState_Info>::Pointer ctx)
  893. {
  894. /// override by user
  895. }
  896. virtual void Handle_SendAgentText(SpReqAnsContext<UIService_SendAgentText_Req, UIService_SendAgentText_Ans>::Pointer ctx)
  897. {
  898. /// override by user
  899. }
  900. virtual void Handle_SetMenuTree(SpOnewayCallContext<UIService_SetMenuTree_Info>::Pointer ctx)
  901. {
  902. /// override by user
  903. }
  904. virtual void Handle_SetMenuPath(SpOnewayCallContext<UIService_SetMenuPath_Info>::Pointer ctx)
  905. {
  906. /// override by user
  907. }
  908. virtual void Handle_SendFrontSyncData(SpOnewayCallContext<UIService_SendFrontSyncData_Info>::Pointer ctx)
  909. {
  910. /// override by user
  911. }
  912. virtual void Handle_StartRecordVideo(SpReqAnsContext<UIService_StartRecordVideo_Req, UIService_StartRecordVideo_Ans>::Pointer ctx)
  913. {
  914. /// override by user
  915. }
  916. virtual void Handle_StopRecordVideo(SpReqAnsContext<UIService_StopRecordVideo_Req, UIService_StopRecordVideo_Ans>::Pointer ctx)
  917. {
  918. /// override by user
  919. }
  920. virtual void Handle_ShowVideo(SpReqAnsContext<UIService_ShowVideo_Req, UIService_ShowVideo_Ans>::Pointer ctx)
  921. {
  922. /// override by user
  923. }
  924. virtual void Handle_SaveVideo(SpReqAnsContext<UIService_SaveVideo_Req, UIService_SaveVideo_Ans>::Pointer ctx)
  925. {
  926. /// override by user
  927. }
  928. virtual void Handle_DeleteVideo(SpReqAnsContext<UIService_DeleteVideo_Req, UIService_DeleteVideo_Ans>::Pointer ctx)
  929. {
  930. /// override by user
  931. }
  932. virtual void Handle_StartPlayVideo(SpReqAnsContext<UIService_StartPlayVideo_Req, UIService_StartPlayVideo_Ans>::Pointer ctx)
  933. {
  934. /// override by user
  935. }
  936. virtual void Handle_StartPlayAudio(SpReqAnsContext<UIService_StartPlayAudio_Req, UIService_StartPlayAudio_Ans>::Pointer ctx)
  937. {
  938. /// override by user
  939. }
  940. virtual void Handle_StartPlayImage(SpReqAnsContext<UIService_StartPlayImage_Req, UIService_StartPlayImage_Ans>::Pointer ctx)
  941. {
  942. /// override by user
  943. }
  944. virtual void Handle_StopPlayVideo(SpReqAnsContext<UIService_StopPlayVideo_Req, UIService_StopPlayVideo_Ans>::Pointer ctx)
  945. {
  946. /// override by user
  947. }
  948. virtual void Handle_StopPlayAudio(SpReqAnsContext<UIService_StopPlayAudio_Req, UIService_StopPlayAudio_Ans>::Pointer ctx)
  949. {
  950. /// override by user
  951. }
  952. virtual void Handle_StopPlayImage(SpReqAnsContext<UIService_StopPlayImage_Req, UIService_StopPlayImage_Ans>::Pointer ctx)
  953. {
  954. /// override by user
  955. }
  956. virtual void Handle_StartPhotograph(SpOnewayCallContext<UIService_StartPhotograph_Info>::Pointer ctx)
  957. {
  958. /// override by user
  959. }
  960. virtual void Handle_StopPhotograph(SpOnewayCallContext<UIService_StopPhotograph_Info>::Pointer ctx)
  961. {
  962. /// override by user
  963. }
  964. virtual void Handle_SendOperateState(SpOnewayCallContext<UIService_SendOperateState_Info>::Pointer ctx)
  965. {
  966. /// override by user
  967. }
  968. virtual void Handle_CheckContinuRecord(SpReqAnsContext<UIService_CheckContinuRecord_Req, UIService_CheckContinuRecord_Ans>::Pointer ctx)
  969. {
  970. /// override by user
  971. }
  972. virtual void Handle_StartContinuRecord(SpReqAnsContext<UIService_StartContinuRecord_Req, UIService_StartContinuRecord_Ans>::Pointer ctx)
  973. {
  974. /// override by user
  975. }
  976. virtual void Handle_StopContinuRecord(SpReqAnsContext<UIService_StopContinuRecord_Req, UIService_StopContinuRecord_Ans>::Pointer ctx)
  977. {
  978. /// override by user
  979. }
  980. virtual void Handle_StartEchoContinuRecord(SpReqAnsContext<UIService_StartEchoContinuRecord_Req, UIService_StartEchoContinuRecord_Ans>::Pointer ctx)
  981. {
  982. /// override by user
  983. }
  984. virtual void Handle_StopEchoContinuRecord(SpReqAnsContext<UIService_StopEchoContinuRecord_Req, UIService_StopEchoContinuRecord_Ans>::Pointer ctx)
  985. {
  986. /// override by user
  987. }
  988. virtual void Handle_HideOnlineVideo(SpOnewayCallContext<UIService_HideOnlineVideo_Info>::Pointer ctx)
  989. {
  990. /// override by user
  991. }
  992. virtual void Handle_ShowOnlineVideo(SpOnewayCallContext<UIService_ShowOnlineVideo_Info>::Pointer ctx)
  993. {
  994. /// override by user
  995. }
  996. virtual void Handle_AnswerPacket(SpReqAnsContext<UIService_AnswerPacket_Req, UIService_AnswerPacket_Ans>::Pointer ctx)
  997. {
  998. /// override by user
  999. }
  1000. virtual void Handle_GetLocalVideoVolume(SpReqAnsContext<UIService_GetLocalVideoVolume_Req, UIService_GetLocalVideoVolume_Ans>::Pointer ctx)
  1001. {
  1002. /// override by user
  1003. }
  1004. virtual void Handle_SetLocalVideoVolume(SpReqAnsContext<UIService_SetLocalVideoVolume_Req, UIService_SetLocalVideoVolume_Ans>::Pointer ctx)
  1005. {
  1006. /// override by user
  1007. }
  1008. virtual void Handle_SendBusinessDesktopCmd(SpReqAnsContext<UIService_SendBusinessDesktopCmd_Req, UIService_SendBusinessDesktopCmd_Ans>::Pointer ctx)
  1009. {
  1010. /// override by user
  1011. }
  1012. virtual void Handle_HideLocalVideo(SpOnewayCallContext<UIService_HideLocalVideo_Info>::Pointer ctx)
  1013. {
  1014. /// override by user
  1015. }
  1016. virtual void Handle_ShowLocalVideo(SpOnewayCallContext<UIService_ShowLocalVideo_Info>::Pointer ctx)
  1017. {
  1018. /// override by user
  1019. }
  1020. virtual void Handle_HidePersonArea(SpOnewayCallContext<UIService_HidePersonArea_Info>::Pointer ctx)
  1021. {
  1022. /// override by user
  1023. }
  1024. virtual void Handle_ShowPersonArea(SpOnewayCallContext<UIService_ShowPersonArea_Info>::Pointer ctx)
  1025. {
  1026. /// override by user
  1027. }
  1028. virtual void Handle_VideoAppendWaterMark(SpReqAnsContext<UIService_VideoAppendWaterMark_Req, UIService_VideoAppendWaterMark_Ans>::Pointer ctx)
  1029. {
  1030. /// override by user
  1031. }
  1032. virtual void Handle_GetLocalAudioVolume(SpReqAnsContext<UIService_GetLocalAudioVolume_Req, UIService_GetLocalAudioVolume_Ans>::Pointer ctx)
  1033. {
  1034. /// override by user
  1035. }
  1036. virtual void Handle_SetLocalAudioVolume(SpReqAnsContext<UIService_SetLocalAudioVolume_Req, UIService_SetLocalAudioVolume_Ans>::Pointer ctx)
  1037. {
  1038. /// override by user
  1039. }
  1040. virtual void Handle_StartRemoteRecord(SpReqAnsContext<UIService_StartRemoteRecord_Req, UIService_StartRemoteRecord_Ans>::Pointer ctx)
  1041. {
  1042. /// override by user
  1043. }
  1044. virtual void Handle_StopRemoteRecord(SpReqAnsContext<UIService_StopRemoteRecord_Req, UIService_StopRemoteRecord_Ans>::Pointer ctx)
  1045. {
  1046. /// override by user
  1047. }
  1048. virtual void Handle_StartSalesRecord(SpReqAnsContext<UIService_StartSalesRecord_Req, UIService_StartSalesRecord_Ans>::Pointer ctx)
  1049. {
  1050. /// override by user
  1051. }
  1052. virtual void Handle_StartRecordPreview(SpReqAnsContext<UIService_StartRecordPreview_Req, UIService_StartRecordPreview_Ans>::Pointer ctx)
  1053. {
  1054. /// override by user
  1055. }
  1056. virtual void Handle_StartSalesVideoRecord(SpReqAnsContext<UIService_StartSalesVideoRecord_Req, UIService_StartSalesVideoRecord_Ans>::Pointer ctx)
  1057. {
  1058. /// override by user
  1059. }
  1060. virtual void Handle_AjustVideoPreviewSize(SpReqAnsContext<UIService_AjustVideoPreviewSize_Req, UIService_AjustVideoPreviewSize_Ans>::Pointer ctx)
  1061. {
  1062. /// override by user
  1063. }
  1064. virtual void Handle_StopShowVideo(SpReqAnsContext<UIService_StopShowVideo_Req, UIService_StopShowVideo_Ans>::Pointer ctx)
  1065. {
  1066. /// override by user
  1067. }
  1068. virtual void Handle_StartPlaySalesRecord(SpReqAnsContext<UIService_StartPlaySalesRecord_Req, UIService_StartPlaySalesRecord_Ans>::Pointer ctx)
  1069. {
  1070. /// override by user
  1071. }
  1072. virtual void Handle_SendH5SyncData(SpOnewayCallContext<UIService_SendH5SyncData_Info>::Pointer ctx)
  1073. {
  1074. /// override by user
  1075. }
  1076. virtual void Handle_GetHandfreeOutVolume(SpReqAnsContext<UIService_GetHandfreeOutVolume_Req, UIService_GetHandfreeOutVolume_Ans>::Pointer ctx)
  1077. {
  1078. /// override by user
  1079. }
  1080. virtual void Handle_SetHandfreeOutVolume(SpReqAnsContext<UIService_SetHandfreeOutVolume_Req, UIService_SetHandfreeOutVolume_Ans>::Pointer ctx)
  1081. {
  1082. /// override by user
  1083. }
  1084. virtual void Handle_GetPickupOutVolume(SpReqAnsContext<UIService_GetPickupOutVolume_Req, UIService_GetPickupOutVolume_Ans>::Pointer ctx)
  1085. {
  1086. /// override by user
  1087. }
  1088. virtual void Handle_SetPickupOutVolume(SpReqAnsContext<UIService_SetPickupOutVolume_Req, UIService_SetPickupOutVolume_Ans>::Pointer ctx)
  1089. {
  1090. /// override by user
  1091. }
  1092. virtual void Handle_StartPlayNotice(SpReqAnsContext<UIService_StartPlayNotice_Req, UIService_StartPlayNotice_Ans>::Pointer ctx)
  1093. {
  1094. /// override by user
  1095. }
  1096. virtual void Handle_StopPlayNotice(SpReqAnsContext<UIService_StopPlayNotice_Req, UIService_StopPlayNotice_Ans>::Pointer ctx)
  1097. {
  1098. /// override by user
  1099. }
  1100. virtual void Handle_GetRecordMode(SpReqAnsContext<UIService_GetRecordMode_Req, UIService_GetRecordMode_Ans>::Pointer ctx)
  1101. {
  1102. /// override by user
  1103. }
  1104. virtual void Handle_StartTransactionRecord(SpReqAnsContext<UIService_StartTransactionRecord_Req, UIService_StartTransactionRecord_Ans>::Pointer ctx)
  1105. {
  1106. /// override by user
  1107. }
  1108. virtual void Handle_StopTransactionRecord(SpReqAnsContext<UIService_StopTransactionRecord_Req, UIService_StopTransactionRecord_Ans>::Pointer ctx)
  1109. {
  1110. /// override by user
  1111. }
  1112. virtual void Handle_GetCallState(SpReqAnsContext<UIService_GetCallState_Req, UIService_GetCallState_Ans>::Pointer ctx)
  1113. {
  1114. /// override by user
  1115. }
  1116. virtual void Handle_HangupCall(SpOnewayCallContext<UIService_HangupCall_Info>::Pointer ctx)
  1117. {
  1118. /// override by user
  1119. }
  1120. virtual void Handle_GetTransactionRecordState(SpReqAnsContext<UIService_GetTransactionRecordState_Req, UIService_GetTransactionRecordState_Ans>::Pointer ctx)
  1121. {
  1122. /// override by user
  1123. }
  1124. virtual void Handle_GetHandfreeInVolume(SpReqAnsContext<UIService_GetHandfreeInVolume_Req, UIService_GetHandfreeInVolume_Ans>::Pointer ctx)
  1125. {
  1126. /// override by user
  1127. }
  1128. virtual void Handle_SetHandfreeInVolume(SpReqAnsContext<UIService_SetHandfreeInVolume_Req, UIService_SetHandfreeInVolume_Ans>::Pointer ctx)
  1129. {
  1130. /// override by user
  1131. }
  1132. virtual void Handle_GetPickupInVolume(SpReqAnsContext<UIService_GetPickupInVolume_Req, UIService_GetPickupInVolume_Ans>::Pointer ctx)
  1133. {
  1134. /// override by user
  1135. }
  1136. virtual void Handle_SetPickupInVolume(SpReqAnsContext<UIService_SetPickupInVolume_Req, UIService_SetPickupInVolume_Ans>::Pointer ctx)
  1137. {
  1138. /// override by user
  1139. }
  1140. virtual void Handle_GetAudioInDevices(SpReqAnsContext<UIService_GetAudioInDevices_Req, UIService_GetAudioInDevices_Ans>::Pointer ctx)
  1141. {
  1142. /// override by user
  1143. }
  1144. virtual void Handle_GetAudioOutDevices(SpReqAnsContext<UIService_GetAudioOutDevices_Req, UIService_GetAudioOutDevices_Ans>::Pointer ctx)
  1145. {
  1146. /// override by user
  1147. }
  1148. virtual void Handle_GetCameraInfo(SpReqAnsContext<UIService_GetCameraInfo_Req, UIService_GetCameraInfo_Ans>::Pointer ctx)
  1149. {
  1150. /// override by user
  1151. }
  1152. virtual void Handle_GetMediaDeviceInfo(SpReqAnsContext<UIService_GetMediaDeviceInfo_Req, UIService_GetMediaDeviceInfo_Ans>::Pointer ctx)
  1153. {
  1154. /// override by user
  1155. }
  1156. virtual void Handle_GetPickUpStatus(SpReqAnsContext<UIService_GetPickUpStatus_Req, UIService_GetPickUpStatus_Ans>::Pointer ctx)
  1157. {
  1158. /// override by user
  1159. }
  1160. virtual void Handle_GetCameraState(SpReqAnsContext<UIService_GetCameraState_Req, UIService_GetCameraState_Ans>::Pointer ctx)
  1161. {
  1162. /// override by user
  1163. }
  1164. virtual void Handle_SetRemoteRecordCamera(SpReqAnsContext<UIService_SetRemoteRecordCamera_Req, UIService_SetRemoteRecordCamera_Ans>::Pointer ctx)
  1165. {
  1166. /// override by user
  1167. }
  1168. virtual void Handle_StartCameraCapture(SpReqAnsContext<UIService_StartCameraCapture_Req, UIService_StartCameraCapture_Ans>::Pointer ctx)
  1169. {
  1170. /// override by user
  1171. }
  1172. virtual void Handle_StopCameraCapture(SpReqAnsContext<UIService_StopCameraCapture_Req, UIService_StopCameraCapture_Ans>::Pointer ctx)
  1173. {
  1174. /// override by user
  1175. }
  1176. virtual void OnRequest(CSmartPointer<ITransactionContext> pTransactionContext)
  1177. {
  1178. CAutoBuffer Buf;
  1179. DWORD dwMessageID;
  1180. DWORD dwMessageSignature;
  1181. ErrorCodeEnum Error = pTransactionContext->GetReceiveBuffer(dwMessageID, dwMessageSignature, Buf);
  1182. if (Error == Error_Succeed) {
  1183. #ifdef DEBUG
  1184. assert(CheckMessageSignature(dwMessageID, dwMessageSignature) == Error_Succeed);
  1185. #else
  1186. if (CheckMessageSignature(dwMessageID, dwMessageSignature) != Error_Succeed) {
  1187. pTransactionContext->SendAnswer(Error_MethodSignatureFailed);
  1188. return;
  1189. }
  1190. #endif
  1191. switch (dwMessageID) {
  1192. case UIService_Method_SetUIState:
  1193. {
  1194. SpOnewayCallContext<UIService_SetUIState_Info>::Pointer ctx;
  1195. ctx.Attach(new SpOnewayCallContext<UIService_SetUIState_Info>());
  1196. SpBuffer2Object(Buf, ctx->Info);
  1197. pTransactionContext->GetLinkContext(ctx->link);
  1198. EntityResource::setLink(ctx->link);
  1199. Handle_SetUIState(ctx);
  1200. }
  1201. break;
  1202. case UIService_Method_SendAgentText:
  1203. {
  1204. SpReqAnsContext<UIService_SendAgentText_Req,UIService_SendAgentText_Ans>::Pointer ctx;
  1205. ctx.Attach(new SpReqAnsContext<UIService_SendAgentText_Req,UIService_SendAgentText_Ans>(pTransactionContext));
  1206. SpBuffer2Object(Buf, ctx->Req);
  1207. pTransactionContext->GetLinkContext(ctx->link);
  1208. EntityResource::setLink(ctx->link);
  1209. Handle_SendAgentText(ctx);
  1210. }
  1211. break;
  1212. case UIService_Method_SetMenuTree:
  1213. {
  1214. SpOnewayCallContext<UIService_SetMenuTree_Info>::Pointer ctx;
  1215. ctx.Attach(new SpOnewayCallContext<UIService_SetMenuTree_Info>());
  1216. SpBuffer2Object(Buf, ctx->Info);
  1217. pTransactionContext->GetLinkContext(ctx->link);
  1218. EntityResource::setLink(ctx->link);
  1219. Handle_SetMenuTree(ctx);
  1220. }
  1221. break;
  1222. case UIService_Method_SetMenuPath:
  1223. {
  1224. SpOnewayCallContext<UIService_SetMenuPath_Info>::Pointer ctx;
  1225. ctx.Attach(new SpOnewayCallContext<UIService_SetMenuPath_Info>());
  1226. SpBuffer2Object(Buf, ctx->Info);
  1227. pTransactionContext->GetLinkContext(ctx->link);
  1228. EntityResource::setLink(ctx->link);
  1229. Handle_SetMenuPath(ctx);
  1230. }
  1231. break;
  1232. case UIService_Method_SendFrontSyncData:
  1233. {
  1234. SpOnewayCallContext<UIService_SendFrontSyncData_Info>::Pointer ctx;
  1235. ctx.Attach(new SpOnewayCallContext<UIService_SendFrontSyncData_Info>());
  1236. SpBuffer2Object(Buf, ctx->Info);
  1237. pTransactionContext->GetLinkContext(ctx->link);
  1238. EntityResource::setLink(ctx->link);
  1239. Handle_SendFrontSyncData(ctx);
  1240. }
  1241. break;
  1242. case UIService_Method_StartRecordVideo:
  1243. {
  1244. SpReqAnsContext<UIService_StartRecordVideo_Req,UIService_StartRecordVideo_Ans>::Pointer ctx;
  1245. ctx.Attach(new SpReqAnsContext<UIService_StartRecordVideo_Req,UIService_StartRecordVideo_Ans>(pTransactionContext));
  1246. SpBuffer2Object(Buf, ctx->Req);
  1247. pTransactionContext->GetLinkContext(ctx->link);
  1248. EntityResource::setLink(ctx->link);
  1249. Handle_StartRecordVideo(ctx);
  1250. }
  1251. break;
  1252. case UIService_Method_StopRecordVideo:
  1253. {
  1254. SpReqAnsContext<UIService_StopRecordVideo_Req,UIService_StopRecordVideo_Ans>::Pointer ctx;
  1255. ctx.Attach(new SpReqAnsContext<UIService_StopRecordVideo_Req,UIService_StopRecordVideo_Ans>(pTransactionContext));
  1256. SpBuffer2Object(Buf, ctx->Req);
  1257. pTransactionContext->GetLinkContext(ctx->link);
  1258. EntityResource::setLink(ctx->link);
  1259. Handle_StopRecordVideo(ctx);
  1260. }
  1261. break;
  1262. case UIService_Method_ShowVideo:
  1263. {
  1264. SpReqAnsContext<UIService_ShowVideo_Req,UIService_ShowVideo_Ans>::Pointer ctx;
  1265. ctx.Attach(new SpReqAnsContext<UIService_ShowVideo_Req,UIService_ShowVideo_Ans>(pTransactionContext));
  1266. SpBuffer2Object(Buf, ctx->Req);
  1267. pTransactionContext->GetLinkContext(ctx->link);
  1268. EntityResource::setLink(ctx->link);
  1269. Handle_ShowVideo(ctx);
  1270. }
  1271. break;
  1272. case UIService_Method_SaveVideo:
  1273. {
  1274. SpReqAnsContext<UIService_SaveVideo_Req,UIService_SaveVideo_Ans>::Pointer ctx;
  1275. ctx.Attach(new SpReqAnsContext<UIService_SaveVideo_Req,UIService_SaveVideo_Ans>(pTransactionContext));
  1276. SpBuffer2Object(Buf, ctx->Req);
  1277. pTransactionContext->GetLinkContext(ctx->link);
  1278. EntityResource::setLink(ctx->link);
  1279. Handle_SaveVideo(ctx);
  1280. }
  1281. break;
  1282. case UIService_Method_DeleteVideo:
  1283. {
  1284. SpReqAnsContext<UIService_DeleteVideo_Req,UIService_DeleteVideo_Ans>::Pointer ctx;
  1285. ctx.Attach(new SpReqAnsContext<UIService_DeleteVideo_Req,UIService_DeleteVideo_Ans>(pTransactionContext));
  1286. SpBuffer2Object(Buf, ctx->Req);
  1287. pTransactionContext->GetLinkContext(ctx->link);
  1288. EntityResource::setLink(ctx->link);
  1289. Handle_DeleteVideo(ctx);
  1290. }
  1291. break;
  1292. case UIService_Method_StartPlayVideo:
  1293. {
  1294. SpReqAnsContext<UIService_StartPlayVideo_Req,UIService_StartPlayVideo_Ans>::Pointer ctx;
  1295. ctx.Attach(new SpReqAnsContext<UIService_StartPlayVideo_Req,UIService_StartPlayVideo_Ans>(pTransactionContext));
  1296. SpBuffer2Object(Buf, ctx->Req);
  1297. pTransactionContext->GetLinkContext(ctx->link);
  1298. EntityResource::setLink(ctx->link);
  1299. Handle_StartPlayVideo(ctx);
  1300. }
  1301. break;
  1302. case UIService_Method_StartPlayAudio:
  1303. {
  1304. SpReqAnsContext<UIService_StartPlayAudio_Req,UIService_StartPlayAudio_Ans>::Pointer ctx;
  1305. ctx.Attach(new SpReqAnsContext<UIService_StartPlayAudio_Req,UIService_StartPlayAudio_Ans>(pTransactionContext));
  1306. SpBuffer2Object(Buf, ctx->Req);
  1307. pTransactionContext->GetLinkContext(ctx->link);
  1308. EntityResource::setLink(ctx->link);
  1309. Handle_StartPlayAudio(ctx);
  1310. }
  1311. break;
  1312. case UIService_Method_StartPlayImage:
  1313. {
  1314. SpReqAnsContext<UIService_StartPlayImage_Req,UIService_StartPlayImage_Ans>::Pointer ctx;
  1315. ctx.Attach(new SpReqAnsContext<UIService_StartPlayImage_Req,UIService_StartPlayImage_Ans>(pTransactionContext));
  1316. SpBuffer2Object(Buf, ctx->Req);
  1317. pTransactionContext->GetLinkContext(ctx->link);
  1318. EntityResource::setLink(ctx->link);
  1319. Handle_StartPlayImage(ctx);
  1320. }
  1321. break;
  1322. case UIService_Method_StopPlayVideo:
  1323. {
  1324. SpReqAnsContext<UIService_StopPlayVideo_Req,UIService_StopPlayVideo_Ans>::Pointer ctx;
  1325. ctx.Attach(new SpReqAnsContext<UIService_StopPlayVideo_Req,UIService_StopPlayVideo_Ans>(pTransactionContext));
  1326. SpBuffer2Object(Buf, ctx->Req);
  1327. pTransactionContext->GetLinkContext(ctx->link);
  1328. EntityResource::setLink(ctx->link);
  1329. Handle_StopPlayVideo(ctx);
  1330. }
  1331. break;
  1332. case UIService_Method_StopPlayAudio:
  1333. {
  1334. SpReqAnsContext<UIService_StopPlayAudio_Req,UIService_StopPlayAudio_Ans>::Pointer ctx;
  1335. ctx.Attach(new SpReqAnsContext<UIService_StopPlayAudio_Req,UIService_StopPlayAudio_Ans>(pTransactionContext));
  1336. SpBuffer2Object(Buf, ctx->Req);
  1337. pTransactionContext->GetLinkContext(ctx->link);
  1338. EntityResource::setLink(ctx->link);
  1339. Handle_StopPlayAudio(ctx);
  1340. }
  1341. break;
  1342. case UIService_Method_StopPlayImage:
  1343. {
  1344. SpReqAnsContext<UIService_StopPlayImage_Req,UIService_StopPlayImage_Ans>::Pointer ctx;
  1345. ctx.Attach(new SpReqAnsContext<UIService_StopPlayImage_Req,UIService_StopPlayImage_Ans>(pTransactionContext));
  1346. SpBuffer2Object(Buf, ctx->Req);
  1347. pTransactionContext->GetLinkContext(ctx->link);
  1348. EntityResource::setLink(ctx->link);
  1349. Handle_StopPlayImage(ctx);
  1350. }
  1351. break;
  1352. case UIService_Method_StartPhotograph:
  1353. {
  1354. SpOnewayCallContext<UIService_StartPhotograph_Info>::Pointer ctx;
  1355. ctx.Attach(new SpOnewayCallContext<UIService_StartPhotograph_Info>());
  1356. SpBuffer2Object(Buf, ctx->Info);
  1357. pTransactionContext->GetLinkContext(ctx->link);
  1358. EntityResource::setLink(ctx->link);
  1359. Handle_StartPhotograph(ctx);
  1360. }
  1361. break;
  1362. case UIService_Method_StopPhotograph:
  1363. {
  1364. SpOnewayCallContext<UIService_StopPhotograph_Info>::Pointer ctx;
  1365. ctx.Attach(new SpOnewayCallContext<UIService_StopPhotograph_Info>());
  1366. SpBuffer2Object(Buf, ctx->Info);
  1367. pTransactionContext->GetLinkContext(ctx->link);
  1368. EntityResource::setLink(ctx->link);
  1369. Handle_StopPhotograph(ctx);
  1370. }
  1371. break;
  1372. case UIService_Method_SendOperateState:
  1373. {
  1374. SpOnewayCallContext<UIService_SendOperateState_Info>::Pointer ctx;
  1375. ctx.Attach(new SpOnewayCallContext<UIService_SendOperateState_Info>());
  1376. SpBuffer2Object(Buf, ctx->Info);
  1377. pTransactionContext->GetLinkContext(ctx->link);
  1378. EntityResource::setLink(ctx->link);
  1379. Handle_SendOperateState(ctx);
  1380. }
  1381. break;
  1382. case UIService_Method_CheckContinuRecord:
  1383. {
  1384. SpReqAnsContext<UIService_CheckContinuRecord_Req,UIService_CheckContinuRecord_Ans>::Pointer ctx;
  1385. ctx.Attach(new SpReqAnsContext<UIService_CheckContinuRecord_Req,UIService_CheckContinuRecord_Ans>(pTransactionContext));
  1386. SpBuffer2Object(Buf, ctx->Req);
  1387. pTransactionContext->GetLinkContext(ctx->link);
  1388. EntityResource::setLink(ctx->link);
  1389. Handle_CheckContinuRecord(ctx);
  1390. }
  1391. break;
  1392. case UIService_Method_StartContinuRecord:
  1393. {
  1394. SpReqAnsContext<UIService_StartContinuRecord_Req,UIService_StartContinuRecord_Ans>::Pointer ctx;
  1395. ctx.Attach(new SpReqAnsContext<UIService_StartContinuRecord_Req,UIService_StartContinuRecord_Ans>(pTransactionContext));
  1396. SpBuffer2Object(Buf, ctx->Req);
  1397. pTransactionContext->GetLinkContext(ctx->link);
  1398. EntityResource::setLink(ctx->link);
  1399. Handle_StartContinuRecord(ctx);
  1400. }
  1401. break;
  1402. case UIService_Method_StopContinuRecord:
  1403. {
  1404. SpReqAnsContext<UIService_StopContinuRecord_Req,UIService_StopContinuRecord_Ans>::Pointer ctx;
  1405. ctx.Attach(new SpReqAnsContext<UIService_StopContinuRecord_Req,UIService_StopContinuRecord_Ans>(pTransactionContext));
  1406. SpBuffer2Object(Buf, ctx->Req);
  1407. pTransactionContext->GetLinkContext(ctx->link);
  1408. EntityResource::setLink(ctx->link);
  1409. Handle_StopContinuRecord(ctx);
  1410. }
  1411. break;
  1412. case UIService_Method_StartEchoContinuRecord:
  1413. {
  1414. SpReqAnsContext<UIService_StartEchoContinuRecord_Req,UIService_StartEchoContinuRecord_Ans>::Pointer ctx;
  1415. ctx.Attach(new SpReqAnsContext<UIService_StartEchoContinuRecord_Req,UIService_StartEchoContinuRecord_Ans>(pTransactionContext));
  1416. SpBuffer2Object(Buf, ctx->Req);
  1417. pTransactionContext->GetLinkContext(ctx->link);
  1418. EntityResource::setLink(ctx->link);
  1419. Handle_StartEchoContinuRecord(ctx);
  1420. }
  1421. break;
  1422. case UIService_Method_StopEchoContinuRecord:
  1423. {
  1424. SpReqAnsContext<UIService_StopEchoContinuRecord_Req,UIService_StopEchoContinuRecord_Ans>::Pointer ctx;
  1425. ctx.Attach(new SpReqAnsContext<UIService_StopEchoContinuRecord_Req,UIService_StopEchoContinuRecord_Ans>(pTransactionContext));
  1426. SpBuffer2Object(Buf, ctx->Req);
  1427. pTransactionContext->GetLinkContext(ctx->link);
  1428. EntityResource::setLink(ctx->link);
  1429. Handle_StopEchoContinuRecord(ctx);
  1430. }
  1431. break;
  1432. case UIService_Method_HideOnlineVideo:
  1433. {
  1434. SpOnewayCallContext<UIService_HideOnlineVideo_Info>::Pointer ctx;
  1435. ctx.Attach(new SpOnewayCallContext<UIService_HideOnlineVideo_Info>());
  1436. SpBuffer2Object(Buf, ctx->Info);
  1437. pTransactionContext->GetLinkContext(ctx->link);
  1438. EntityResource::setLink(ctx->link);
  1439. Handle_HideOnlineVideo(ctx);
  1440. }
  1441. break;
  1442. case UIService_Method_ShowOnlineVideo:
  1443. {
  1444. SpOnewayCallContext<UIService_ShowOnlineVideo_Info>::Pointer ctx;
  1445. ctx.Attach(new SpOnewayCallContext<UIService_ShowOnlineVideo_Info>());
  1446. SpBuffer2Object(Buf, ctx->Info);
  1447. pTransactionContext->GetLinkContext(ctx->link);
  1448. EntityResource::setLink(ctx->link);
  1449. Handle_ShowOnlineVideo(ctx);
  1450. }
  1451. break;
  1452. case UIService_Method_AnswerPacket:
  1453. {
  1454. SpReqAnsContext<UIService_AnswerPacket_Req,UIService_AnswerPacket_Ans>::Pointer ctx;
  1455. ctx.Attach(new SpReqAnsContext<UIService_AnswerPacket_Req,UIService_AnswerPacket_Ans>(pTransactionContext));
  1456. SpBuffer2Object(Buf, ctx->Req);
  1457. pTransactionContext->GetLinkContext(ctx->link);
  1458. EntityResource::setLink(ctx->link);
  1459. Handle_AnswerPacket(ctx);
  1460. }
  1461. break;
  1462. case UIService_Method_GetLocalVideoVolume:
  1463. {
  1464. SpReqAnsContext<UIService_GetLocalVideoVolume_Req,UIService_GetLocalVideoVolume_Ans>::Pointer ctx;
  1465. ctx.Attach(new SpReqAnsContext<UIService_GetLocalVideoVolume_Req,UIService_GetLocalVideoVolume_Ans>(pTransactionContext));
  1466. SpBuffer2Object(Buf, ctx->Req);
  1467. pTransactionContext->GetLinkContext(ctx->link);
  1468. EntityResource::setLink(ctx->link);
  1469. Handle_GetLocalVideoVolume(ctx);
  1470. }
  1471. break;
  1472. case UIService_Method_SetLocalVideoVolume:
  1473. {
  1474. SpReqAnsContext<UIService_SetLocalVideoVolume_Req,UIService_SetLocalVideoVolume_Ans>::Pointer ctx;
  1475. ctx.Attach(new SpReqAnsContext<UIService_SetLocalVideoVolume_Req,UIService_SetLocalVideoVolume_Ans>(pTransactionContext));
  1476. SpBuffer2Object(Buf, ctx->Req);
  1477. pTransactionContext->GetLinkContext(ctx->link);
  1478. EntityResource::setLink(ctx->link);
  1479. Handle_SetLocalVideoVolume(ctx);
  1480. }
  1481. break;
  1482. case UIService_Method_SendBusinessDesktopCmd:
  1483. {
  1484. SpReqAnsContext<UIService_SendBusinessDesktopCmd_Req,UIService_SendBusinessDesktopCmd_Ans>::Pointer ctx;
  1485. ctx.Attach(new SpReqAnsContext<UIService_SendBusinessDesktopCmd_Req,UIService_SendBusinessDesktopCmd_Ans>(pTransactionContext));
  1486. SpBuffer2Object(Buf, ctx->Req);
  1487. pTransactionContext->GetLinkContext(ctx->link);
  1488. EntityResource::setLink(ctx->link);
  1489. Handle_SendBusinessDesktopCmd(ctx);
  1490. }
  1491. break;
  1492. case UIService_Method_HideLocalVideo:
  1493. {
  1494. SpOnewayCallContext<UIService_HideLocalVideo_Info>::Pointer ctx;
  1495. ctx.Attach(new SpOnewayCallContext<UIService_HideLocalVideo_Info>());
  1496. SpBuffer2Object(Buf, ctx->Info);
  1497. pTransactionContext->GetLinkContext(ctx->link);
  1498. EntityResource::setLink(ctx->link);
  1499. Handle_HideLocalVideo(ctx);
  1500. }
  1501. break;
  1502. case UIService_Method_ShowLocalVideo:
  1503. {
  1504. SpOnewayCallContext<UIService_ShowLocalVideo_Info>::Pointer ctx;
  1505. ctx.Attach(new SpOnewayCallContext<UIService_ShowLocalVideo_Info>());
  1506. SpBuffer2Object(Buf, ctx->Info);
  1507. pTransactionContext->GetLinkContext(ctx->link);
  1508. EntityResource::setLink(ctx->link);
  1509. Handle_ShowLocalVideo(ctx);
  1510. }
  1511. break;
  1512. case UIService_Method_HidePersonArea:
  1513. {
  1514. SpOnewayCallContext<UIService_HidePersonArea_Info>::Pointer ctx;
  1515. ctx.Attach(new SpOnewayCallContext<UIService_HidePersonArea_Info>());
  1516. SpBuffer2Object(Buf, ctx->Info);
  1517. pTransactionContext->GetLinkContext(ctx->link);
  1518. EntityResource::setLink(ctx->link);
  1519. Handle_HidePersonArea(ctx);
  1520. }
  1521. break;
  1522. case UIService_Method_ShowPersonArea:
  1523. {
  1524. SpOnewayCallContext<UIService_ShowPersonArea_Info>::Pointer ctx;
  1525. ctx.Attach(new SpOnewayCallContext<UIService_ShowPersonArea_Info>());
  1526. SpBuffer2Object(Buf, ctx->Info);
  1527. pTransactionContext->GetLinkContext(ctx->link);
  1528. EntityResource::setLink(ctx->link);
  1529. Handle_ShowPersonArea(ctx);
  1530. }
  1531. break;
  1532. case UIService_Method_VideoAppendWaterMark:
  1533. {
  1534. SpReqAnsContext<UIService_VideoAppendWaterMark_Req,UIService_VideoAppendWaterMark_Ans>::Pointer ctx;
  1535. ctx.Attach(new SpReqAnsContext<UIService_VideoAppendWaterMark_Req,UIService_VideoAppendWaterMark_Ans>(pTransactionContext));
  1536. SpBuffer2Object(Buf, ctx->Req);
  1537. pTransactionContext->GetLinkContext(ctx->link);
  1538. EntityResource::setLink(ctx->link);
  1539. Handle_VideoAppendWaterMark(ctx);
  1540. }
  1541. break;
  1542. case UIService_Method_GetLocalAudioVolume:
  1543. {
  1544. SpReqAnsContext<UIService_GetLocalAudioVolume_Req,UIService_GetLocalAudioVolume_Ans>::Pointer ctx;
  1545. ctx.Attach(new SpReqAnsContext<UIService_GetLocalAudioVolume_Req,UIService_GetLocalAudioVolume_Ans>(pTransactionContext));
  1546. SpBuffer2Object(Buf, ctx->Req);
  1547. pTransactionContext->GetLinkContext(ctx->link);
  1548. EntityResource::setLink(ctx->link);
  1549. Handle_GetLocalAudioVolume(ctx);
  1550. }
  1551. break;
  1552. case UIService_Method_SetLocalAudioVolume:
  1553. {
  1554. SpReqAnsContext<UIService_SetLocalAudioVolume_Req,UIService_SetLocalAudioVolume_Ans>::Pointer ctx;
  1555. ctx.Attach(new SpReqAnsContext<UIService_SetLocalAudioVolume_Req,UIService_SetLocalAudioVolume_Ans>(pTransactionContext));
  1556. SpBuffer2Object(Buf, ctx->Req);
  1557. pTransactionContext->GetLinkContext(ctx->link);
  1558. EntityResource::setLink(ctx->link);
  1559. Handle_SetLocalAudioVolume(ctx);
  1560. }
  1561. break;
  1562. case UIService_Method_StartRemoteRecord:
  1563. {
  1564. SpReqAnsContext<UIService_StartRemoteRecord_Req,UIService_StartRemoteRecord_Ans>::Pointer ctx;
  1565. ctx.Attach(new SpReqAnsContext<UIService_StartRemoteRecord_Req,UIService_StartRemoteRecord_Ans>(pTransactionContext));
  1566. SpBuffer2Object(Buf, ctx->Req);
  1567. pTransactionContext->GetLinkContext(ctx->link);
  1568. EntityResource::setLink(ctx->link);
  1569. Handle_StartRemoteRecord(ctx);
  1570. }
  1571. break;
  1572. case UIService_Method_StopRemoteRecord:
  1573. {
  1574. SpReqAnsContext<UIService_StopRemoteRecord_Req,UIService_StopRemoteRecord_Ans>::Pointer ctx;
  1575. ctx.Attach(new SpReqAnsContext<UIService_StopRemoteRecord_Req,UIService_StopRemoteRecord_Ans>(pTransactionContext));
  1576. SpBuffer2Object(Buf, ctx->Req);
  1577. pTransactionContext->GetLinkContext(ctx->link);
  1578. EntityResource::setLink(ctx->link);
  1579. Handle_StopRemoteRecord(ctx);
  1580. }
  1581. break;
  1582. case UIService_Method_StartSalesRecord:
  1583. {
  1584. SpReqAnsContext<UIService_StartSalesRecord_Req,UIService_StartSalesRecord_Ans>::Pointer ctx;
  1585. ctx.Attach(new SpReqAnsContext<UIService_StartSalesRecord_Req,UIService_StartSalesRecord_Ans>(pTransactionContext));
  1586. SpBuffer2Object(Buf, ctx->Req);
  1587. pTransactionContext->GetLinkContext(ctx->link);
  1588. EntityResource::setLink(ctx->link);
  1589. Handle_StartSalesRecord(ctx);
  1590. }
  1591. break;
  1592. case UIService_Method_StartRecordPreview:
  1593. {
  1594. SpReqAnsContext<UIService_StartRecordPreview_Req,UIService_StartRecordPreview_Ans>::Pointer ctx;
  1595. ctx.Attach(new SpReqAnsContext<UIService_StartRecordPreview_Req,UIService_StartRecordPreview_Ans>(pTransactionContext));
  1596. SpBuffer2Object(Buf, ctx->Req);
  1597. pTransactionContext->GetLinkContext(ctx->link);
  1598. EntityResource::setLink(ctx->link);
  1599. Handle_StartRecordPreview(ctx);
  1600. }
  1601. break;
  1602. case UIService_Method_StartSalesVideoRecord:
  1603. {
  1604. SpReqAnsContext<UIService_StartSalesVideoRecord_Req,UIService_StartSalesVideoRecord_Ans>::Pointer ctx;
  1605. ctx.Attach(new SpReqAnsContext<UIService_StartSalesVideoRecord_Req,UIService_StartSalesVideoRecord_Ans>(pTransactionContext));
  1606. SpBuffer2Object(Buf, ctx->Req);
  1607. pTransactionContext->GetLinkContext(ctx->link);
  1608. EntityResource::setLink(ctx->link);
  1609. Handle_StartSalesVideoRecord(ctx);
  1610. }
  1611. break;
  1612. case UIService_Method_AjustVideoPreviewSize:
  1613. {
  1614. SpReqAnsContext<UIService_AjustVideoPreviewSize_Req,UIService_AjustVideoPreviewSize_Ans>::Pointer ctx;
  1615. ctx.Attach(new SpReqAnsContext<UIService_AjustVideoPreviewSize_Req,UIService_AjustVideoPreviewSize_Ans>(pTransactionContext));
  1616. SpBuffer2Object(Buf, ctx->Req);
  1617. pTransactionContext->GetLinkContext(ctx->link);
  1618. EntityResource::setLink(ctx->link);
  1619. Handle_AjustVideoPreviewSize(ctx);
  1620. }
  1621. break;
  1622. case UIService_Method_StopShowVideo:
  1623. {
  1624. SpReqAnsContext<UIService_StopShowVideo_Req,UIService_StopShowVideo_Ans>::Pointer ctx;
  1625. ctx.Attach(new SpReqAnsContext<UIService_StopShowVideo_Req,UIService_StopShowVideo_Ans>(pTransactionContext));
  1626. SpBuffer2Object(Buf, ctx->Req);
  1627. pTransactionContext->GetLinkContext(ctx->link);
  1628. EntityResource::setLink(ctx->link);
  1629. Handle_StopShowVideo(ctx);
  1630. }
  1631. break;
  1632. case UIService_Method_StartPlaySalesRecord:
  1633. {
  1634. SpReqAnsContext<UIService_StartPlaySalesRecord_Req,UIService_StartPlaySalesRecord_Ans>::Pointer ctx;
  1635. ctx.Attach(new SpReqAnsContext<UIService_StartPlaySalesRecord_Req,UIService_StartPlaySalesRecord_Ans>(pTransactionContext));
  1636. SpBuffer2Object(Buf, ctx->Req);
  1637. pTransactionContext->GetLinkContext(ctx->link);
  1638. EntityResource::setLink(ctx->link);
  1639. Handle_StartPlaySalesRecord(ctx);
  1640. }
  1641. break;
  1642. case UIService_Method_SendH5SyncData:
  1643. {
  1644. SpOnewayCallContext<UIService_SendH5SyncData_Info>::Pointer ctx;
  1645. ctx.Attach(new SpOnewayCallContext<UIService_SendH5SyncData_Info>());
  1646. SpBuffer2Object(Buf, ctx->Info);
  1647. pTransactionContext->GetLinkContext(ctx->link);
  1648. EntityResource::setLink(ctx->link);
  1649. Handle_SendH5SyncData(ctx);
  1650. }
  1651. break;
  1652. case UIService_Method_GetHandfreeOutVolume:
  1653. {
  1654. SpReqAnsContext<UIService_GetHandfreeOutVolume_Req,UIService_GetHandfreeOutVolume_Ans>::Pointer ctx;
  1655. ctx.Attach(new SpReqAnsContext<UIService_GetHandfreeOutVolume_Req,UIService_GetHandfreeOutVolume_Ans>(pTransactionContext));
  1656. SpBuffer2Object(Buf, ctx->Req);
  1657. pTransactionContext->GetLinkContext(ctx->link);
  1658. EntityResource::setLink(ctx->link);
  1659. Handle_GetHandfreeOutVolume(ctx);
  1660. }
  1661. break;
  1662. case UIService_Method_SetHandfreeOutVolume:
  1663. {
  1664. SpReqAnsContext<UIService_SetHandfreeOutVolume_Req,UIService_SetHandfreeOutVolume_Ans>::Pointer ctx;
  1665. ctx.Attach(new SpReqAnsContext<UIService_SetHandfreeOutVolume_Req,UIService_SetHandfreeOutVolume_Ans>(pTransactionContext));
  1666. SpBuffer2Object(Buf, ctx->Req);
  1667. pTransactionContext->GetLinkContext(ctx->link);
  1668. EntityResource::setLink(ctx->link);
  1669. Handle_SetHandfreeOutVolume(ctx);
  1670. }
  1671. break;
  1672. case UIService_Method_GetPickupOutVolume:
  1673. {
  1674. SpReqAnsContext<UIService_GetPickupOutVolume_Req,UIService_GetPickupOutVolume_Ans>::Pointer ctx;
  1675. ctx.Attach(new SpReqAnsContext<UIService_GetPickupOutVolume_Req,UIService_GetPickupOutVolume_Ans>(pTransactionContext));
  1676. SpBuffer2Object(Buf, ctx->Req);
  1677. pTransactionContext->GetLinkContext(ctx->link);
  1678. EntityResource::setLink(ctx->link);
  1679. Handle_GetPickupOutVolume(ctx);
  1680. }
  1681. break;
  1682. case UIService_Method_SetPickupOutVolume:
  1683. {
  1684. SpReqAnsContext<UIService_SetPickupOutVolume_Req,UIService_SetPickupOutVolume_Ans>::Pointer ctx;
  1685. ctx.Attach(new SpReqAnsContext<UIService_SetPickupOutVolume_Req,UIService_SetPickupOutVolume_Ans>(pTransactionContext));
  1686. SpBuffer2Object(Buf, ctx->Req);
  1687. pTransactionContext->GetLinkContext(ctx->link);
  1688. EntityResource::setLink(ctx->link);
  1689. Handle_SetPickupOutVolume(ctx);
  1690. }
  1691. break;
  1692. case UIService_Method_StartPlayNotice:
  1693. {
  1694. SpReqAnsContext<UIService_StartPlayNotice_Req,UIService_StartPlayNotice_Ans>::Pointer ctx;
  1695. ctx.Attach(new SpReqAnsContext<UIService_StartPlayNotice_Req,UIService_StartPlayNotice_Ans>(pTransactionContext));
  1696. SpBuffer2Object(Buf, ctx->Req);
  1697. pTransactionContext->GetLinkContext(ctx->link);
  1698. EntityResource::setLink(ctx->link);
  1699. Handle_StartPlayNotice(ctx);
  1700. }
  1701. break;
  1702. case UIService_Method_StopPlayNotice:
  1703. {
  1704. SpReqAnsContext<UIService_StopPlayNotice_Req,UIService_StopPlayNotice_Ans>::Pointer ctx;
  1705. ctx.Attach(new SpReqAnsContext<UIService_StopPlayNotice_Req,UIService_StopPlayNotice_Ans>(pTransactionContext));
  1706. SpBuffer2Object(Buf, ctx->Req);
  1707. pTransactionContext->GetLinkContext(ctx->link);
  1708. EntityResource::setLink(ctx->link);
  1709. Handle_StopPlayNotice(ctx);
  1710. }
  1711. break;
  1712. case UIService_Method_GetRecordMode:
  1713. {
  1714. SpReqAnsContext<UIService_GetRecordMode_Req,UIService_GetRecordMode_Ans>::Pointer ctx;
  1715. ctx.Attach(new SpReqAnsContext<UIService_GetRecordMode_Req,UIService_GetRecordMode_Ans>(pTransactionContext));
  1716. SpBuffer2Object(Buf, ctx->Req);
  1717. pTransactionContext->GetLinkContext(ctx->link);
  1718. EntityResource::setLink(ctx->link);
  1719. Handle_GetRecordMode(ctx);
  1720. }
  1721. break;
  1722. case UIService_Method_StartTransactionRecord:
  1723. {
  1724. SpReqAnsContext<UIService_StartTransactionRecord_Req,UIService_StartTransactionRecord_Ans>::Pointer ctx;
  1725. ctx.Attach(new SpReqAnsContext<UIService_StartTransactionRecord_Req,UIService_StartTransactionRecord_Ans>(pTransactionContext));
  1726. SpBuffer2Object(Buf, ctx->Req);
  1727. pTransactionContext->GetLinkContext(ctx->link);
  1728. EntityResource::setLink(ctx->link);
  1729. Handle_StartTransactionRecord(ctx);
  1730. }
  1731. break;
  1732. case UIService_Method_StopTransactionRecord:
  1733. {
  1734. SpReqAnsContext<UIService_StopTransactionRecord_Req,UIService_StopTransactionRecord_Ans>::Pointer ctx;
  1735. ctx.Attach(new SpReqAnsContext<UIService_StopTransactionRecord_Req,UIService_StopTransactionRecord_Ans>(pTransactionContext));
  1736. SpBuffer2Object(Buf, ctx->Req);
  1737. pTransactionContext->GetLinkContext(ctx->link);
  1738. EntityResource::setLink(ctx->link);
  1739. Handle_StopTransactionRecord(ctx);
  1740. }
  1741. break;
  1742. case UIService_Method_GetCallState:
  1743. {
  1744. SpReqAnsContext<UIService_GetCallState_Req,UIService_GetCallState_Ans>::Pointer ctx;
  1745. ctx.Attach(new SpReqAnsContext<UIService_GetCallState_Req,UIService_GetCallState_Ans>(pTransactionContext));
  1746. SpBuffer2Object(Buf, ctx->Req);
  1747. pTransactionContext->GetLinkContext(ctx->link);
  1748. EntityResource::setLink(ctx->link);
  1749. Handle_GetCallState(ctx);
  1750. }
  1751. break;
  1752. case UIService_Method_HangupCall:
  1753. {
  1754. SpOnewayCallContext<UIService_HangupCall_Info>::Pointer ctx;
  1755. ctx.Attach(new SpOnewayCallContext<UIService_HangupCall_Info>());
  1756. SpBuffer2Object(Buf, ctx->Info);
  1757. pTransactionContext->GetLinkContext(ctx->link);
  1758. EntityResource::setLink(ctx->link);
  1759. Handle_HangupCall(ctx);
  1760. }
  1761. break;
  1762. case UIService_Method_GetTransactionRecordState:
  1763. {
  1764. SpReqAnsContext<UIService_GetTransactionRecordState_Req,UIService_GetTransactionRecordState_Ans>::Pointer ctx;
  1765. ctx.Attach(new SpReqAnsContext<UIService_GetTransactionRecordState_Req,UIService_GetTransactionRecordState_Ans>(pTransactionContext));
  1766. SpBuffer2Object(Buf, ctx->Req);
  1767. pTransactionContext->GetLinkContext(ctx->link);
  1768. EntityResource::setLink(ctx->link);
  1769. Handle_GetTransactionRecordState(ctx);
  1770. }
  1771. break;
  1772. case UIService_Method_GetHandfreeInVolume:
  1773. {
  1774. SpReqAnsContext<UIService_GetHandfreeInVolume_Req,UIService_GetHandfreeInVolume_Ans>::Pointer ctx;
  1775. ctx.Attach(new SpReqAnsContext<UIService_GetHandfreeInVolume_Req,UIService_GetHandfreeInVolume_Ans>(pTransactionContext));
  1776. SpBuffer2Object(Buf, ctx->Req);
  1777. pTransactionContext->GetLinkContext(ctx->link);
  1778. EntityResource::setLink(ctx->link);
  1779. Handle_GetHandfreeInVolume(ctx);
  1780. }
  1781. break;
  1782. case UIService_Method_SetHandfreeInVolume:
  1783. {
  1784. SpReqAnsContext<UIService_SetHandfreeInVolume_Req,UIService_SetHandfreeInVolume_Ans>::Pointer ctx;
  1785. ctx.Attach(new SpReqAnsContext<UIService_SetHandfreeInVolume_Req,UIService_SetHandfreeInVolume_Ans>(pTransactionContext));
  1786. SpBuffer2Object(Buf, ctx->Req);
  1787. pTransactionContext->GetLinkContext(ctx->link);
  1788. EntityResource::setLink(ctx->link);
  1789. Handle_SetHandfreeInVolume(ctx);
  1790. }
  1791. break;
  1792. case UIService_Method_GetPickupInVolume:
  1793. {
  1794. SpReqAnsContext<UIService_GetPickupInVolume_Req,UIService_GetPickupInVolume_Ans>::Pointer ctx;
  1795. ctx.Attach(new SpReqAnsContext<UIService_GetPickupInVolume_Req,UIService_GetPickupInVolume_Ans>(pTransactionContext));
  1796. SpBuffer2Object(Buf, ctx->Req);
  1797. pTransactionContext->GetLinkContext(ctx->link);
  1798. EntityResource::setLink(ctx->link);
  1799. Handle_GetPickupInVolume(ctx);
  1800. }
  1801. break;
  1802. case UIService_Method_SetPickupInVolume:
  1803. {
  1804. SpReqAnsContext<UIService_SetPickupInVolume_Req,UIService_SetPickupInVolume_Ans>::Pointer ctx;
  1805. ctx.Attach(new SpReqAnsContext<UIService_SetPickupInVolume_Req,UIService_SetPickupInVolume_Ans>(pTransactionContext));
  1806. SpBuffer2Object(Buf, ctx->Req);
  1807. pTransactionContext->GetLinkContext(ctx->link);
  1808. EntityResource::setLink(ctx->link);
  1809. Handle_SetPickupInVolume(ctx);
  1810. }
  1811. break;
  1812. case UIService_Method_GetAudioInDevices:
  1813. {
  1814. SpReqAnsContext<UIService_GetAudioInDevices_Req,UIService_GetAudioInDevices_Ans>::Pointer ctx;
  1815. ctx.Attach(new SpReqAnsContext<UIService_GetAudioInDevices_Req,UIService_GetAudioInDevices_Ans>(pTransactionContext));
  1816. SpBuffer2Object(Buf, ctx->Req);
  1817. pTransactionContext->GetLinkContext(ctx->link);
  1818. EntityResource::setLink(ctx->link);
  1819. Handle_GetAudioInDevices(ctx);
  1820. }
  1821. break;
  1822. case UIService_Method_GetAudioOutDevices:
  1823. {
  1824. SpReqAnsContext<UIService_GetAudioOutDevices_Req,UIService_GetAudioOutDevices_Ans>::Pointer ctx;
  1825. ctx.Attach(new SpReqAnsContext<UIService_GetAudioOutDevices_Req,UIService_GetAudioOutDevices_Ans>(pTransactionContext));
  1826. SpBuffer2Object(Buf, ctx->Req);
  1827. pTransactionContext->GetLinkContext(ctx->link);
  1828. EntityResource::setLink(ctx->link);
  1829. Handle_GetAudioOutDevices(ctx);
  1830. }
  1831. break;
  1832. case UIService_Method_GetCameraInfo:
  1833. {
  1834. SpReqAnsContext<UIService_GetCameraInfo_Req,UIService_GetCameraInfo_Ans>::Pointer ctx;
  1835. ctx.Attach(new SpReqAnsContext<UIService_GetCameraInfo_Req,UIService_GetCameraInfo_Ans>(pTransactionContext));
  1836. SpBuffer2Object(Buf, ctx->Req);
  1837. pTransactionContext->GetLinkContext(ctx->link);
  1838. EntityResource::setLink(ctx->link);
  1839. Handle_GetCameraInfo(ctx);
  1840. }
  1841. break;
  1842. case UIService_Method_GetMediaDeviceInfo:
  1843. {
  1844. SpReqAnsContext<UIService_GetMediaDeviceInfo_Req,UIService_GetMediaDeviceInfo_Ans>::Pointer ctx;
  1845. ctx.Attach(new SpReqAnsContext<UIService_GetMediaDeviceInfo_Req,UIService_GetMediaDeviceInfo_Ans>(pTransactionContext));
  1846. SpBuffer2Object(Buf, ctx->Req);
  1847. pTransactionContext->GetLinkContext(ctx->link);
  1848. EntityResource::setLink(ctx->link);
  1849. Handle_GetMediaDeviceInfo(ctx);
  1850. }
  1851. break;
  1852. case UIService_Method_GetPickUpStatus:
  1853. {
  1854. SpReqAnsContext<UIService_GetPickUpStatus_Req,UIService_GetPickUpStatus_Ans>::Pointer ctx;
  1855. ctx.Attach(new SpReqAnsContext<UIService_GetPickUpStatus_Req,UIService_GetPickUpStatus_Ans>(pTransactionContext));
  1856. SpBuffer2Object(Buf, ctx->Req);
  1857. pTransactionContext->GetLinkContext(ctx->link);
  1858. EntityResource::setLink(ctx->link);
  1859. Handle_GetPickUpStatus(ctx);
  1860. }
  1861. break;
  1862. case UIService_Method_GetCameraState:
  1863. {
  1864. SpReqAnsContext<UIService_GetCameraState_Req,UIService_GetCameraState_Ans>::Pointer ctx;
  1865. ctx.Attach(new SpReqAnsContext<UIService_GetCameraState_Req,UIService_GetCameraState_Ans>(pTransactionContext));
  1866. SpBuffer2Object(Buf, ctx->Req);
  1867. pTransactionContext->GetLinkContext(ctx->link);
  1868. EntityResource::setLink(ctx->link);
  1869. Handle_GetCameraState(ctx);
  1870. }
  1871. break;
  1872. case UIService_Method_SetRemoteRecordCamera:
  1873. {
  1874. SpReqAnsContext<UIService_SetRemoteRecordCamera_Req,UIService_SetRemoteRecordCamera_Ans>::Pointer ctx;
  1875. ctx.Attach(new SpReqAnsContext<UIService_SetRemoteRecordCamera_Req,UIService_SetRemoteRecordCamera_Ans>(pTransactionContext));
  1876. SpBuffer2Object(Buf, ctx->Req);
  1877. pTransactionContext->GetLinkContext(ctx->link);
  1878. EntityResource::setLink(ctx->link);
  1879. Handle_SetRemoteRecordCamera(ctx);
  1880. }
  1881. break;
  1882. case UIService_Method_StartCameraCapture:
  1883. {
  1884. SpReqAnsContext<UIService_StartCameraCapture_Req,UIService_StartCameraCapture_Ans>::Pointer ctx;
  1885. ctx.Attach(new SpReqAnsContext<UIService_StartCameraCapture_Req,UIService_StartCameraCapture_Ans>(pTransactionContext));
  1886. SpBuffer2Object(Buf, ctx->Req);
  1887. pTransactionContext->GetLinkContext(ctx->link);
  1888. EntityResource::setLink(ctx->link);
  1889. Handle_StartCameraCapture(ctx);
  1890. }
  1891. break;
  1892. case UIService_Method_StopCameraCapture:
  1893. {
  1894. SpReqAnsContext<UIService_StopCameraCapture_Req,UIService_StopCameraCapture_Ans>::Pointer ctx;
  1895. ctx.Attach(new SpReqAnsContext<UIService_StopCameraCapture_Req,UIService_StopCameraCapture_Ans>(pTransactionContext));
  1896. SpBuffer2Object(Buf, ctx->Req);
  1897. pTransactionContext->GetLinkContext(ctx->link);
  1898. EntityResource::setLink(ctx->link);
  1899. Handle_StopCameraCapture(ctx);
  1900. }
  1901. break;
  1902. default:
  1903. assert(0);
  1904. break;
  1905. }
  1906. } else {
  1907. pTransactionContext->SendAnswer(Error);
  1908. }
  1909. }
  1910. };
  1911. ///////////////////////////
  1912. } // namespace InteractiveControl
  1913. #endif // __INTERACTIVECONTROL_SERVER_G_H