12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000 |
- #ifndef __INTERACTIVECONTROL_SERVER_G_H
- #define __INTERACTIVECONTROL_SERVER_G_H
- #pragma once
- // This code is generated by spgen tool!
- #include "InteractiveControl_def_g.h"
- namespace InteractiveControl {
- class UIService_ServerSessionBase : public CServerSessionBase
- {
- public:
- UIService_ServerSessionBase()
- {
- /// override by user
- }
- virtual ~UIService_ServerSessionBase()
- {
- /// override by user
- }
- virtual bool IsExclusive() { return false; }
- virtual bool IsSessionOverlap() { return true; }
- virtual ErrorCodeEnum GetMessageAttr(DWORD dwMessageID, DWORD dwSignature, bool &bOverlap)
- {
- ErrorCodeEnum Error = Error_Succeed;
- switch (dwMessageID) {
- case UIService_Method_SetUIState:
- if (dwSignature == UIService_MethodSignature_SetUIState) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendAgentText:
- if (dwSignature == UIService_MethodSignature_SendAgentText) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetMenuTree:
- if (dwSignature == UIService_MethodSignature_SetMenuTree) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetMenuPath:
- if (dwSignature == UIService_MethodSignature_SetMenuPath) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendFrontSyncData:
- if (dwSignature == UIService_MethodSignature_SendFrontSyncData) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartRecordVideo:
- if (dwSignature == UIService_MethodSignature_StartRecordVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopRecordVideo:
- if (dwSignature == UIService_MethodSignature_StopRecordVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowVideo:
- if (dwSignature == UIService_MethodSignature_ShowVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SaveVideo:
- if (dwSignature == UIService_MethodSignature_SaveVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_DeleteVideo:
- if (dwSignature == UIService_MethodSignature_DeleteVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayVideo:
- if (dwSignature == UIService_MethodSignature_StartPlayVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayAudio:
- if (dwSignature == UIService_MethodSignature_StartPlayAudio) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayImage:
- if (dwSignature == UIService_MethodSignature_StartPlayImage) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayVideo:
- if (dwSignature == UIService_MethodSignature_StopPlayVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayAudio:
- if (dwSignature == UIService_MethodSignature_StopPlayAudio) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayImage:
- if (dwSignature == UIService_MethodSignature_StopPlayImage) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPhotograph:
- if (dwSignature == UIService_MethodSignature_StartPhotograph) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPhotograph:
- if (dwSignature == UIService_MethodSignature_StopPhotograph) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendOperateState:
- if (dwSignature == UIService_MethodSignature_SendOperateState) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_CheckContinuRecord:
- if (dwSignature == UIService_MethodSignature_CheckContinuRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartContinuRecord:
- if (dwSignature == UIService_MethodSignature_StartContinuRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopContinuRecord:
- if (dwSignature == UIService_MethodSignature_StopContinuRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartEchoContinuRecord:
- if (dwSignature == UIService_MethodSignature_StartEchoContinuRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopEchoContinuRecord:
- if (dwSignature == UIService_MethodSignature_StopEchoContinuRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HideOnlineVideo:
- if (dwSignature == UIService_MethodSignature_HideOnlineVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowOnlineVideo:
- if (dwSignature == UIService_MethodSignature_ShowOnlineVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_AnswerPacket:
- if (dwSignature == UIService_MethodSignature_AnswerPacket) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetLocalVideoVolume:
- if (dwSignature == UIService_MethodSignature_GetLocalVideoVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetLocalVideoVolume:
- if (dwSignature == UIService_MethodSignature_SetLocalVideoVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendBusinessDesktopCmd:
- if (dwSignature == UIService_MethodSignature_SendBusinessDesktopCmd) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HideLocalVideo:
- if (dwSignature == UIService_MethodSignature_HideLocalVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowLocalVideo:
- if (dwSignature == UIService_MethodSignature_ShowLocalVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HidePersonArea:
- if (dwSignature == UIService_MethodSignature_HidePersonArea) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowPersonArea:
- if (dwSignature == UIService_MethodSignature_ShowPersonArea) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_VideoAppendWaterMark:
- if (dwSignature == UIService_MethodSignature_VideoAppendWaterMark) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetLocalAudioVolume:
- if (dwSignature == UIService_MethodSignature_GetLocalAudioVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetLocalAudioVolume:
- if (dwSignature == UIService_MethodSignature_SetLocalAudioVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartRemoteRecord:
- if (dwSignature == UIService_MethodSignature_StartRemoteRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopRemoteRecord:
- if (dwSignature == UIService_MethodSignature_StopRemoteRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartSalesRecord:
- if (dwSignature == UIService_MethodSignature_StartSalesRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartRecordPreview:
- if (dwSignature == UIService_MethodSignature_StartRecordPreview) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartSalesVideoRecord:
- if (dwSignature == UIService_MethodSignature_StartSalesVideoRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_AjustVideoPreviewSize:
- if (dwSignature == UIService_MethodSignature_AjustVideoPreviewSize) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopShowVideo:
- if (dwSignature == UIService_MethodSignature_StopShowVideo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlaySalesRecord:
- if (dwSignature == UIService_MethodSignature_StartPlaySalesRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendH5SyncData:
- if (dwSignature == UIService_MethodSignature_SendH5SyncData) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetHandfreeOutVolume:
- if (dwSignature == UIService_MethodSignature_GetHandfreeOutVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetHandfreeOutVolume:
- if (dwSignature == UIService_MethodSignature_SetHandfreeOutVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetPickupOutVolume:
- if (dwSignature == UIService_MethodSignature_GetPickupOutVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetPickupOutVolume:
- if (dwSignature == UIService_MethodSignature_SetPickupOutVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayNotice:
- if (dwSignature == UIService_MethodSignature_StartPlayNotice) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayNotice:
- if (dwSignature == UIService_MethodSignature_StopPlayNotice) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetRecordMode:
- if (dwSignature == UIService_MethodSignature_GetRecordMode) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartTransactionRecord:
- if (dwSignature == UIService_MethodSignature_StartTransactionRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopTransactionRecord:
- if (dwSignature == UIService_MethodSignature_StopTransactionRecord) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetCallState:
- if (dwSignature == UIService_MethodSignature_GetCallState) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HangupCall:
- if (dwSignature == UIService_MethodSignature_HangupCall) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetTransactionRecordState:
- if (dwSignature == UIService_MethodSignature_GetTransactionRecordState) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetHandfreeInVolume:
- if (dwSignature == UIService_MethodSignature_GetHandfreeInVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetHandfreeInVolume:
- if (dwSignature == UIService_MethodSignature_SetHandfreeInVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetPickupInVolume:
- if (dwSignature == UIService_MethodSignature_GetPickupInVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetPickupInVolume:
- if (dwSignature == UIService_MethodSignature_SetPickupInVolume) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetAudioInDevices:
- if (dwSignature == UIService_MethodSignature_GetAudioInDevices) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetAudioOutDevices:
- if (dwSignature == UIService_MethodSignature_GetAudioOutDevices) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetCameraInfo:
- if (dwSignature == UIService_MethodSignature_GetCameraInfo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetMediaDeviceInfo:
- if (dwSignature == UIService_MethodSignature_GetMediaDeviceInfo) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetPickUpStatus:
- if (dwSignature == UIService_MethodSignature_GetPickUpStatus) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetCameraState:
- if (dwSignature == UIService_MethodSignature_GetCameraState) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetRemoteRecordCamera:
- if (dwSignature == UIService_MethodSignature_SetRemoteRecordCamera) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartCameraCapture:
- if (dwSignature == UIService_MethodSignature_StartCameraCapture) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopCameraCapture:
- if (dwSignature == UIService_MethodSignature_StopCameraCapture) {
- bOverlap = true;
- } else {
- Error = Error_MethodSignatureFailed;
- }
- break;
- default:
- Error = Error_MethodNotFound;
- break;
- }
- return Error;
- }
- int CheckMessageSignature(DWORD dwMessageID, DWORD dwSignature)
- {
- ErrorCodeEnum Error = Error_Succeed;
- switch (dwMessageID) {
- case UIService_Method_SetUIState:
- if (dwSignature != UIService_MethodSignature_SetUIState) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendAgentText:
- if (dwSignature != UIService_MethodSignature_SendAgentText) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetMenuTree:
- if (dwSignature != UIService_MethodSignature_SetMenuTree) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetMenuPath:
- if (dwSignature != UIService_MethodSignature_SetMenuPath) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendFrontSyncData:
- if (dwSignature != UIService_MethodSignature_SendFrontSyncData) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartRecordVideo:
- if (dwSignature != UIService_MethodSignature_StartRecordVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopRecordVideo:
- if (dwSignature != UIService_MethodSignature_StopRecordVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowVideo:
- if (dwSignature != UIService_MethodSignature_ShowVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SaveVideo:
- if (dwSignature != UIService_MethodSignature_SaveVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_DeleteVideo:
- if (dwSignature != UIService_MethodSignature_DeleteVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayVideo:
- if (dwSignature != UIService_MethodSignature_StartPlayVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayAudio:
- if (dwSignature != UIService_MethodSignature_StartPlayAudio) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayImage:
- if (dwSignature != UIService_MethodSignature_StartPlayImage) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayVideo:
- if (dwSignature != UIService_MethodSignature_StopPlayVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayAudio:
- if (dwSignature != UIService_MethodSignature_StopPlayAudio) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayImage:
- if (dwSignature != UIService_MethodSignature_StopPlayImage) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPhotograph:
- if (dwSignature != UIService_MethodSignature_StartPhotograph) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPhotograph:
- if (dwSignature != UIService_MethodSignature_StopPhotograph) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendOperateState:
- if (dwSignature != UIService_MethodSignature_SendOperateState) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_CheckContinuRecord:
- if (dwSignature != UIService_MethodSignature_CheckContinuRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartContinuRecord:
- if (dwSignature != UIService_MethodSignature_StartContinuRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopContinuRecord:
- if (dwSignature != UIService_MethodSignature_StopContinuRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartEchoContinuRecord:
- if (dwSignature != UIService_MethodSignature_StartEchoContinuRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopEchoContinuRecord:
- if (dwSignature != UIService_MethodSignature_StopEchoContinuRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HideOnlineVideo:
- if (dwSignature != UIService_MethodSignature_HideOnlineVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowOnlineVideo:
- if (dwSignature != UIService_MethodSignature_ShowOnlineVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_AnswerPacket:
- if (dwSignature != UIService_MethodSignature_AnswerPacket) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetLocalVideoVolume:
- if (dwSignature != UIService_MethodSignature_GetLocalVideoVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetLocalVideoVolume:
- if (dwSignature != UIService_MethodSignature_SetLocalVideoVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendBusinessDesktopCmd:
- if (dwSignature != UIService_MethodSignature_SendBusinessDesktopCmd) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HideLocalVideo:
- if (dwSignature != UIService_MethodSignature_HideLocalVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowLocalVideo:
- if (dwSignature != UIService_MethodSignature_ShowLocalVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HidePersonArea:
- if (dwSignature != UIService_MethodSignature_HidePersonArea) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_ShowPersonArea:
- if (dwSignature != UIService_MethodSignature_ShowPersonArea) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_VideoAppendWaterMark:
- if (dwSignature != UIService_MethodSignature_VideoAppendWaterMark) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetLocalAudioVolume:
- if (dwSignature != UIService_MethodSignature_GetLocalAudioVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetLocalAudioVolume:
- if (dwSignature != UIService_MethodSignature_SetLocalAudioVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartRemoteRecord:
- if (dwSignature != UIService_MethodSignature_StartRemoteRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopRemoteRecord:
- if (dwSignature != UIService_MethodSignature_StopRemoteRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartSalesRecord:
- if (dwSignature != UIService_MethodSignature_StartSalesRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartRecordPreview:
- if (dwSignature != UIService_MethodSignature_StartRecordPreview) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartSalesVideoRecord:
- if (dwSignature != UIService_MethodSignature_StartSalesVideoRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_AjustVideoPreviewSize:
- if (dwSignature != UIService_MethodSignature_AjustVideoPreviewSize) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopShowVideo:
- if (dwSignature != UIService_MethodSignature_StopShowVideo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlaySalesRecord:
- if (dwSignature != UIService_MethodSignature_StartPlaySalesRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SendH5SyncData:
- if (dwSignature != UIService_MethodSignature_SendH5SyncData) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetHandfreeOutVolume:
- if (dwSignature != UIService_MethodSignature_GetHandfreeOutVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetHandfreeOutVolume:
- if (dwSignature != UIService_MethodSignature_SetHandfreeOutVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetPickupOutVolume:
- if (dwSignature != UIService_MethodSignature_GetPickupOutVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetPickupOutVolume:
- if (dwSignature != UIService_MethodSignature_SetPickupOutVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartPlayNotice:
- if (dwSignature != UIService_MethodSignature_StartPlayNotice) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopPlayNotice:
- if (dwSignature != UIService_MethodSignature_StopPlayNotice) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetRecordMode:
- if (dwSignature != UIService_MethodSignature_GetRecordMode) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartTransactionRecord:
- if (dwSignature != UIService_MethodSignature_StartTransactionRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopTransactionRecord:
- if (dwSignature != UIService_MethodSignature_StopTransactionRecord) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetCallState:
- if (dwSignature != UIService_MethodSignature_GetCallState) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_HangupCall:
- if (dwSignature != UIService_MethodSignature_HangupCall) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetTransactionRecordState:
- if (dwSignature != UIService_MethodSignature_GetTransactionRecordState) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetHandfreeInVolume:
- if (dwSignature != UIService_MethodSignature_GetHandfreeInVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetHandfreeInVolume:
- if (dwSignature != UIService_MethodSignature_SetHandfreeInVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetPickupInVolume:
- if (dwSignature != UIService_MethodSignature_GetPickupInVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetPickupInVolume:
- if (dwSignature != UIService_MethodSignature_SetPickupInVolume) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetAudioInDevices:
- if (dwSignature != UIService_MethodSignature_GetAudioInDevices) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetAudioOutDevices:
- if (dwSignature != UIService_MethodSignature_GetAudioOutDevices) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetCameraInfo:
- if (dwSignature != UIService_MethodSignature_GetCameraInfo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetMediaDeviceInfo:
- if (dwSignature != UIService_MethodSignature_GetMediaDeviceInfo) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetPickUpStatus:
- if (dwSignature != UIService_MethodSignature_GetPickUpStatus) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_GetCameraState:
- if (dwSignature != UIService_MethodSignature_GetCameraState) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_SetRemoteRecordCamera:
- if (dwSignature != UIService_MethodSignature_SetRemoteRecordCamera) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StartCameraCapture:
- if (dwSignature != UIService_MethodSignature_StartCameraCapture) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- case UIService_Method_StopCameraCapture:
- if (dwSignature != UIService_MethodSignature_StopCameraCapture) {
- Error = Error_MethodSignatureFailed;
- }
- break;
- default:
- Error = Error_MethodNotFound;
- break;
- }
- return Error;
- }
- virtual void Handle_SetUIState(SpOnewayCallContext<UIService_SetUIState_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SendAgentText(SpReqAnsContext<UIService_SendAgentText_Req, UIService_SendAgentText_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetMenuTree(SpOnewayCallContext<UIService_SetMenuTree_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetMenuPath(SpOnewayCallContext<UIService_SetMenuPath_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SendFrontSyncData(SpOnewayCallContext<UIService_SendFrontSyncData_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartRecordVideo(SpReqAnsContext<UIService_StartRecordVideo_Req, UIService_StartRecordVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopRecordVideo(SpReqAnsContext<UIService_StopRecordVideo_Req, UIService_StopRecordVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_ShowVideo(SpReqAnsContext<UIService_ShowVideo_Req, UIService_ShowVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SaveVideo(SpReqAnsContext<UIService_SaveVideo_Req, UIService_SaveVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_DeleteVideo(SpReqAnsContext<UIService_DeleteVideo_Req, UIService_DeleteVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartPlayVideo(SpReqAnsContext<UIService_StartPlayVideo_Req, UIService_StartPlayVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartPlayAudio(SpReqAnsContext<UIService_StartPlayAudio_Req, UIService_StartPlayAudio_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartPlayImage(SpReqAnsContext<UIService_StartPlayImage_Req, UIService_StartPlayImage_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopPlayVideo(SpReqAnsContext<UIService_StopPlayVideo_Req, UIService_StopPlayVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopPlayAudio(SpReqAnsContext<UIService_StopPlayAudio_Req, UIService_StopPlayAudio_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopPlayImage(SpReqAnsContext<UIService_StopPlayImage_Req, UIService_StopPlayImage_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartPhotograph(SpOnewayCallContext<UIService_StartPhotograph_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopPhotograph(SpOnewayCallContext<UIService_StopPhotograph_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SendOperateState(SpOnewayCallContext<UIService_SendOperateState_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_CheckContinuRecord(SpReqAnsContext<UIService_CheckContinuRecord_Req, UIService_CheckContinuRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartContinuRecord(SpReqAnsContext<UIService_StartContinuRecord_Req, UIService_StartContinuRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopContinuRecord(SpReqAnsContext<UIService_StopContinuRecord_Req, UIService_StopContinuRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartEchoContinuRecord(SpReqAnsContext<UIService_StartEchoContinuRecord_Req, UIService_StartEchoContinuRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopEchoContinuRecord(SpReqAnsContext<UIService_StopEchoContinuRecord_Req, UIService_StopEchoContinuRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_HideOnlineVideo(SpOnewayCallContext<UIService_HideOnlineVideo_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_ShowOnlineVideo(SpOnewayCallContext<UIService_ShowOnlineVideo_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_AnswerPacket(SpReqAnsContext<UIService_AnswerPacket_Req, UIService_AnswerPacket_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetLocalVideoVolume(SpReqAnsContext<UIService_GetLocalVideoVolume_Req, UIService_GetLocalVideoVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetLocalVideoVolume(SpReqAnsContext<UIService_SetLocalVideoVolume_Req, UIService_SetLocalVideoVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SendBusinessDesktopCmd(SpReqAnsContext<UIService_SendBusinessDesktopCmd_Req, UIService_SendBusinessDesktopCmd_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_HideLocalVideo(SpOnewayCallContext<UIService_HideLocalVideo_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_ShowLocalVideo(SpOnewayCallContext<UIService_ShowLocalVideo_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_HidePersonArea(SpOnewayCallContext<UIService_HidePersonArea_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_ShowPersonArea(SpOnewayCallContext<UIService_ShowPersonArea_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_VideoAppendWaterMark(SpReqAnsContext<UIService_VideoAppendWaterMark_Req, UIService_VideoAppendWaterMark_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetLocalAudioVolume(SpReqAnsContext<UIService_GetLocalAudioVolume_Req, UIService_GetLocalAudioVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetLocalAudioVolume(SpReqAnsContext<UIService_SetLocalAudioVolume_Req, UIService_SetLocalAudioVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartRemoteRecord(SpReqAnsContext<UIService_StartRemoteRecord_Req, UIService_StartRemoteRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopRemoteRecord(SpReqAnsContext<UIService_StopRemoteRecord_Req, UIService_StopRemoteRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartSalesRecord(SpReqAnsContext<UIService_StartSalesRecord_Req, UIService_StartSalesRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartRecordPreview(SpReqAnsContext<UIService_StartRecordPreview_Req, UIService_StartRecordPreview_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartSalesVideoRecord(SpReqAnsContext<UIService_StartSalesVideoRecord_Req, UIService_StartSalesVideoRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_AjustVideoPreviewSize(SpReqAnsContext<UIService_AjustVideoPreviewSize_Req, UIService_AjustVideoPreviewSize_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopShowVideo(SpReqAnsContext<UIService_StopShowVideo_Req, UIService_StopShowVideo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartPlaySalesRecord(SpReqAnsContext<UIService_StartPlaySalesRecord_Req, UIService_StartPlaySalesRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SendH5SyncData(SpOnewayCallContext<UIService_SendH5SyncData_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetHandfreeOutVolume(SpReqAnsContext<UIService_GetHandfreeOutVolume_Req, UIService_GetHandfreeOutVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetHandfreeOutVolume(SpReqAnsContext<UIService_SetHandfreeOutVolume_Req, UIService_SetHandfreeOutVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetPickupOutVolume(SpReqAnsContext<UIService_GetPickupOutVolume_Req, UIService_GetPickupOutVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetPickupOutVolume(SpReqAnsContext<UIService_SetPickupOutVolume_Req, UIService_SetPickupOutVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartPlayNotice(SpReqAnsContext<UIService_StartPlayNotice_Req, UIService_StartPlayNotice_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopPlayNotice(SpReqAnsContext<UIService_StopPlayNotice_Req, UIService_StopPlayNotice_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetRecordMode(SpReqAnsContext<UIService_GetRecordMode_Req, UIService_GetRecordMode_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartTransactionRecord(SpReqAnsContext<UIService_StartTransactionRecord_Req, UIService_StartTransactionRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopTransactionRecord(SpReqAnsContext<UIService_StopTransactionRecord_Req, UIService_StopTransactionRecord_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetCallState(SpReqAnsContext<UIService_GetCallState_Req, UIService_GetCallState_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_HangupCall(SpOnewayCallContext<UIService_HangupCall_Info>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetTransactionRecordState(SpReqAnsContext<UIService_GetTransactionRecordState_Req, UIService_GetTransactionRecordState_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetHandfreeInVolume(SpReqAnsContext<UIService_GetHandfreeInVolume_Req, UIService_GetHandfreeInVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetHandfreeInVolume(SpReqAnsContext<UIService_SetHandfreeInVolume_Req, UIService_SetHandfreeInVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetPickupInVolume(SpReqAnsContext<UIService_GetPickupInVolume_Req, UIService_GetPickupInVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetPickupInVolume(SpReqAnsContext<UIService_SetPickupInVolume_Req, UIService_SetPickupInVolume_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetAudioInDevices(SpReqAnsContext<UIService_GetAudioInDevices_Req, UIService_GetAudioInDevices_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetAudioOutDevices(SpReqAnsContext<UIService_GetAudioOutDevices_Req, UIService_GetAudioOutDevices_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetCameraInfo(SpReqAnsContext<UIService_GetCameraInfo_Req, UIService_GetCameraInfo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetMediaDeviceInfo(SpReqAnsContext<UIService_GetMediaDeviceInfo_Req, UIService_GetMediaDeviceInfo_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetPickUpStatus(SpReqAnsContext<UIService_GetPickUpStatus_Req, UIService_GetPickUpStatus_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_GetCameraState(SpReqAnsContext<UIService_GetCameraState_Req, UIService_GetCameraState_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_SetRemoteRecordCamera(SpReqAnsContext<UIService_SetRemoteRecordCamera_Req, UIService_SetRemoteRecordCamera_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StartCameraCapture(SpReqAnsContext<UIService_StartCameraCapture_Req, UIService_StartCameraCapture_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void Handle_StopCameraCapture(SpReqAnsContext<UIService_StopCameraCapture_Req, UIService_StopCameraCapture_Ans>::Pointer ctx)
- {
- /// override by user
- }
- virtual void OnRequest(CSmartPointer<ITransactionContext> pTransactionContext)
- {
- CAutoBuffer Buf;
- DWORD dwMessageID;
- DWORD dwMessageSignature;
- ErrorCodeEnum Error = pTransactionContext->GetReceiveBuffer(dwMessageID, dwMessageSignature, Buf);
- if (Error == Error_Succeed) {
- #ifdef DEBUG
- assert(CheckMessageSignature(dwMessageID, dwMessageSignature) == Error_Succeed);
- #else
- if (CheckMessageSignature(dwMessageID, dwMessageSignature) != Error_Succeed) {
- pTransactionContext->SendAnswer(Error_MethodSignatureFailed);
- return;
- }
- #endif
- switch (dwMessageID) {
- case UIService_Method_SetUIState:
- {
- SpOnewayCallContext<UIService_SetUIState_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_SetUIState_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetUIState(ctx);
- }
- break;
- case UIService_Method_SendAgentText:
- {
- SpReqAnsContext<UIService_SendAgentText_Req,UIService_SendAgentText_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SendAgentText_Req,UIService_SendAgentText_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SendAgentText(ctx);
- }
- break;
- case UIService_Method_SetMenuTree:
- {
- SpOnewayCallContext<UIService_SetMenuTree_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_SetMenuTree_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetMenuTree(ctx);
- }
- break;
- case UIService_Method_SetMenuPath:
- {
- SpOnewayCallContext<UIService_SetMenuPath_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_SetMenuPath_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetMenuPath(ctx);
- }
- break;
- case UIService_Method_SendFrontSyncData:
- {
- SpOnewayCallContext<UIService_SendFrontSyncData_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_SendFrontSyncData_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SendFrontSyncData(ctx);
- }
- break;
- case UIService_Method_StartRecordVideo:
- {
- SpReqAnsContext<UIService_StartRecordVideo_Req,UIService_StartRecordVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartRecordVideo_Req,UIService_StartRecordVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartRecordVideo(ctx);
- }
- break;
- case UIService_Method_StopRecordVideo:
- {
- SpReqAnsContext<UIService_StopRecordVideo_Req,UIService_StopRecordVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopRecordVideo_Req,UIService_StopRecordVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopRecordVideo(ctx);
- }
- break;
- case UIService_Method_ShowVideo:
- {
- SpReqAnsContext<UIService_ShowVideo_Req,UIService_ShowVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_ShowVideo_Req,UIService_ShowVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_ShowVideo(ctx);
- }
- break;
- case UIService_Method_SaveVideo:
- {
- SpReqAnsContext<UIService_SaveVideo_Req,UIService_SaveVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SaveVideo_Req,UIService_SaveVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SaveVideo(ctx);
- }
- break;
- case UIService_Method_DeleteVideo:
- {
- SpReqAnsContext<UIService_DeleteVideo_Req,UIService_DeleteVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_DeleteVideo_Req,UIService_DeleteVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_DeleteVideo(ctx);
- }
- break;
- case UIService_Method_StartPlayVideo:
- {
- SpReqAnsContext<UIService_StartPlayVideo_Req,UIService_StartPlayVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartPlayVideo_Req,UIService_StartPlayVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartPlayVideo(ctx);
- }
- break;
- case UIService_Method_StartPlayAudio:
- {
- SpReqAnsContext<UIService_StartPlayAudio_Req,UIService_StartPlayAudio_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartPlayAudio_Req,UIService_StartPlayAudio_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartPlayAudio(ctx);
- }
- break;
- case UIService_Method_StartPlayImage:
- {
- SpReqAnsContext<UIService_StartPlayImage_Req,UIService_StartPlayImage_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartPlayImage_Req,UIService_StartPlayImage_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartPlayImage(ctx);
- }
- break;
- case UIService_Method_StopPlayVideo:
- {
- SpReqAnsContext<UIService_StopPlayVideo_Req,UIService_StopPlayVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopPlayVideo_Req,UIService_StopPlayVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopPlayVideo(ctx);
- }
- break;
- case UIService_Method_StopPlayAudio:
- {
- SpReqAnsContext<UIService_StopPlayAudio_Req,UIService_StopPlayAudio_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopPlayAudio_Req,UIService_StopPlayAudio_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopPlayAudio(ctx);
- }
- break;
- case UIService_Method_StopPlayImage:
- {
- SpReqAnsContext<UIService_StopPlayImage_Req,UIService_StopPlayImage_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopPlayImage_Req,UIService_StopPlayImage_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopPlayImage(ctx);
- }
- break;
- case UIService_Method_StartPhotograph:
- {
- SpOnewayCallContext<UIService_StartPhotograph_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_StartPhotograph_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartPhotograph(ctx);
- }
- break;
- case UIService_Method_StopPhotograph:
- {
- SpOnewayCallContext<UIService_StopPhotograph_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_StopPhotograph_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopPhotograph(ctx);
- }
- break;
- case UIService_Method_SendOperateState:
- {
- SpOnewayCallContext<UIService_SendOperateState_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_SendOperateState_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SendOperateState(ctx);
- }
- break;
- case UIService_Method_CheckContinuRecord:
- {
- SpReqAnsContext<UIService_CheckContinuRecord_Req,UIService_CheckContinuRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_CheckContinuRecord_Req,UIService_CheckContinuRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_CheckContinuRecord(ctx);
- }
- break;
- case UIService_Method_StartContinuRecord:
- {
- SpReqAnsContext<UIService_StartContinuRecord_Req,UIService_StartContinuRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartContinuRecord_Req,UIService_StartContinuRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartContinuRecord(ctx);
- }
- break;
- case UIService_Method_StopContinuRecord:
- {
- SpReqAnsContext<UIService_StopContinuRecord_Req,UIService_StopContinuRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopContinuRecord_Req,UIService_StopContinuRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopContinuRecord(ctx);
- }
- break;
- case UIService_Method_StartEchoContinuRecord:
- {
- SpReqAnsContext<UIService_StartEchoContinuRecord_Req,UIService_StartEchoContinuRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartEchoContinuRecord_Req,UIService_StartEchoContinuRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartEchoContinuRecord(ctx);
- }
- break;
- case UIService_Method_StopEchoContinuRecord:
- {
- SpReqAnsContext<UIService_StopEchoContinuRecord_Req,UIService_StopEchoContinuRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopEchoContinuRecord_Req,UIService_StopEchoContinuRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopEchoContinuRecord(ctx);
- }
- break;
- case UIService_Method_HideOnlineVideo:
- {
- SpOnewayCallContext<UIService_HideOnlineVideo_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_HideOnlineVideo_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_HideOnlineVideo(ctx);
- }
- break;
- case UIService_Method_ShowOnlineVideo:
- {
- SpOnewayCallContext<UIService_ShowOnlineVideo_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_ShowOnlineVideo_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_ShowOnlineVideo(ctx);
- }
- break;
- case UIService_Method_AnswerPacket:
- {
- SpReqAnsContext<UIService_AnswerPacket_Req,UIService_AnswerPacket_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_AnswerPacket_Req,UIService_AnswerPacket_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_AnswerPacket(ctx);
- }
- break;
- case UIService_Method_GetLocalVideoVolume:
- {
- SpReqAnsContext<UIService_GetLocalVideoVolume_Req,UIService_GetLocalVideoVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetLocalVideoVolume_Req,UIService_GetLocalVideoVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetLocalVideoVolume(ctx);
- }
- break;
- case UIService_Method_SetLocalVideoVolume:
- {
- SpReqAnsContext<UIService_SetLocalVideoVolume_Req,UIService_SetLocalVideoVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SetLocalVideoVolume_Req,UIService_SetLocalVideoVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetLocalVideoVolume(ctx);
- }
- break;
- case UIService_Method_SendBusinessDesktopCmd:
- {
- SpReqAnsContext<UIService_SendBusinessDesktopCmd_Req,UIService_SendBusinessDesktopCmd_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SendBusinessDesktopCmd_Req,UIService_SendBusinessDesktopCmd_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SendBusinessDesktopCmd(ctx);
- }
- break;
- case UIService_Method_HideLocalVideo:
- {
- SpOnewayCallContext<UIService_HideLocalVideo_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_HideLocalVideo_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_HideLocalVideo(ctx);
- }
- break;
- case UIService_Method_ShowLocalVideo:
- {
- SpOnewayCallContext<UIService_ShowLocalVideo_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_ShowLocalVideo_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_ShowLocalVideo(ctx);
- }
- break;
- case UIService_Method_HidePersonArea:
- {
- SpOnewayCallContext<UIService_HidePersonArea_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_HidePersonArea_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_HidePersonArea(ctx);
- }
- break;
- case UIService_Method_ShowPersonArea:
- {
- SpOnewayCallContext<UIService_ShowPersonArea_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_ShowPersonArea_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_ShowPersonArea(ctx);
- }
- break;
- case UIService_Method_VideoAppendWaterMark:
- {
- SpReqAnsContext<UIService_VideoAppendWaterMark_Req,UIService_VideoAppendWaterMark_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_VideoAppendWaterMark_Req,UIService_VideoAppendWaterMark_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_VideoAppendWaterMark(ctx);
- }
- break;
- case UIService_Method_GetLocalAudioVolume:
- {
- SpReqAnsContext<UIService_GetLocalAudioVolume_Req,UIService_GetLocalAudioVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetLocalAudioVolume_Req,UIService_GetLocalAudioVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetLocalAudioVolume(ctx);
- }
- break;
- case UIService_Method_SetLocalAudioVolume:
- {
- SpReqAnsContext<UIService_SetLocalAudioVolume_Req,UIService_SetLocalAudioVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SetLocalAudioVolume_Req,UIService_SetLocalAudioVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetLocalAudioVolume(ctx);
- }
- break;
- case UIService_Method_StartRemoteRecord:
- {
- SpReqAnsContext<UIService_StartRemoteRecord_Req,UIService_StartRemoteRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartRemoteRecord_Req,UIService_StartRemoteRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartRemoteRecord(ctx);
- }
- break;
- case UIService_Method_StopRemoteRecord:
- {
- SpReqAnsContext<UIService_StopRemoteRecord_Req,UIService_StopRemoteRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopRemoteRecord_Req,UIService_StopRemoteRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopRemoteRecord(ctx);
- }
- break;
- case UIService_Method_StartSalesRecord:
- {
- SpReqAnsContext<UIService_StartSalesRecord_Req,UIService_StartSalesRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartSalesRecord_Req,UIService_StartSalesRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartSalesRecord(ctx);
- }
- break;
- case UIService_Method_StartRecordPreview:
- {
- SpReqAnsContext<UIService_StartRecordPreview_Req,UIService_StartRecordPreview_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartRecordPreview_Req,UIService_StartRecordPreview_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartRecordPreview(ctx);
- }
- break;
- case UIService_Method_StartSalesVideoRecord:
- {
- SpReqAnsContext<UIService_StartSalesVideoRecord_Req,UIService_StartSalesVideoRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartSalesVideoRecord_Req,UIService_StartSalesVideoRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartSalesVideoRecord(ctx);
- }
- break;
- case UIService_Method_AjustVideoPreviewSize:
- {
- SpReqAnsContext<UIService_AjustVideoPreviewSize_Req,UIService_AjustVideoPreviewSize_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_AjustVideoPreviewSize_Req,UIService_AjustVideoPreviewSize_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_AjustVideoPreviewSize(ctx);
- }
- break;
- case UIService_Method_StopShowVideo:
- {
- SpReqAnsContext<UIService_StopShowVideo_Req,UIService_StopShowVideo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopShowVideo_Req,UIService_StopShowVideo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopShowVideo(ctx);
- }
- break;
- case UIService_Method_StartPlaySalesRecord:
- {
- SpReqAnsContext<UIService_StartPlaySalesRecord_Req,UIService_StartPlaySalesRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartPlaySalesRecord_Req,UIService_StartPlaySalesRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartPlaySalesRecord(ctx);
- }
- break;
- case UIService_Method_SendH5SyncData:
- {
- SpOnewayCallContext<UIService_SendH5SyncData_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_SendH5SyncData_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SendH5SyncData(ctx);
- }
- break;
- case UIService_Method_GetHandfreeOutVolume:
- {
- SpReqAnsContext<UIService_GetHandfreeOutVolume_Req,UIService_GetHandfreeOutVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetHandfreeOutVolume_Req,UIService_GetHandfreeOutVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetHandfreeOutVolume(ctx);
- }
- break;
- case UIService_Method_SetHandfreeOutVolume:
- {
- SpReqAnsContext<UIService_SetHandfreeOutVolume_Req,UIService_SetHandfreeOutVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SetHandfreeOutVolume_Req,UIService_SetHandfreeOutVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetHandfreeOutVolume(ctx);
- }
- break;
- case UIService_Method_GetPickupOutVolume:
- {
- SpReqAnsContext<UIService_GetPickupOutVolume_Req,UIService_GetPickupOutVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetPickupOutVolume_Req,UIService_GetPickupOutVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetPickupOutVolume(ctx);
- }
- break;
- case UIService_Method_SetPickupOutVolume:
- {
- SpReqAnsContext<UIService_SetPickupOutVolume_Req,UIService_SetPickupOutVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SetPickupOutVolume_Req,UIService_SetPickupOutVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetPickupOutVolume(ctx);
- }
- break;
- case UIService_Method_StartPlayNotice:
- {
- SpReqAnsContext<UIService_StartPlayNotice_Req,UIService_StartPlayNotice_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartPlayNotice_Req,UIService_StartPlayNotice_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartPlayNotice(ctx);
- }
- break;
- case UIService_Method_StopPlayNotice:
- {
- SpReqAnsContext<UIService_StopPlayNotice_Req,UIService_StopPlayNotice_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopPlayNotice_Req,UIService_StopPlayNotice_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopPlayNotice(ctx);
- }
- break;
- case UIService_Method_GetRecordMode:
- {
- SpReqAnsContext<UIService_GetRecordMode_Req,UIService_GetRecordMode_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetRecordMode_Req,UIService_GetRecordMode_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetRecordMode(ctx);
- }
- break;
- case UIService_Method_StartTransactionRecord:
- {
- SpReqAnsContext<UIService_StartTransactionRecord_Req,UIService_StartTransactionRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartTransactionRecord_Req,UIService_StartTransactionRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartTransactionRecord(ctx);
- }
- break;
- case UIService_Method_StopTransactionRecord:
- {
- SpReqAnsContext<UIService_StopTransactionRecord_Req,UIService_StopTransactionRecord_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopTransactionRecord_Req,UIService_StopTransactionRecord_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopTransactionRecord(ctx);
- }
- break;
- case UIService_Method_GetCallState:
- {
- SpReqAnsContext<UIService_GetCallState_Req,UIService_GetCallState_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetCallState_Req,UIService_GetCallState_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetCallState(ctx);
- }
- break;
- case UIService_Method_HangupCall:
- {
- SpOnewayCallContext<UIService_HangupCall_Info>::Pointer ctx;
- ctx.Attach(new SpOnewayCallContext<UIService_HangupCall_Info>());
- SpBuffer2Object(Buf, ctx->Info);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_HangupCall(ctx);
- }
- break;
- case UIService_Method_GetTransactionRecordState:
- {
- SpReqAnsContext<UIService_GetTransactionRecordState_Req,UIService_GetTransactionRecordState_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetTransactionRecordState_Req,UIService_GetTransactionRecordState_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetTransactionRecordState(ctx);
- }
- break;
- case UIService_Method_GetHandfreeInVolume:
- {
- SpReqAnsContext<UIService_GetHandfreeInVolume_Req,UIService_GetHandfreeInVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetHandfreeInVolume_Req,UIService_GetHandfreeInVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetHandfreeInVolume(ctx);
- }
- break;
- case UIService_Method_SetHandfreeInVolume:
- {
- SpReqAnsContext<UIService_SetHandfreeInVolume_Req,UIService_SetHandfreeInVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SetHandfreeInVolume_Req,UIService_SetHandfreeInVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetHandfreeInVolume(ctx);
- }
- break;
- case UIService_Method_GetPickupInVolume:
- {
- SpReqAnsContext<UIService_GetPickupInVolume_Req,UIService_GetPickupInVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetPickupInVolume_Req,UIService_GetPickupInVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetPickupInVolume(ctx);
- }
- break;
- case UIService_Method_SetPickupInVolume:
- {
- SpReqAnsContext<UIService_SetPickupInVolume_Req,UIService_SetPickupInVolume_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SetPickupInVolume_Req,UIService_SetPickupInVolume_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetPickupInVolume(ctx);
- }
- break;
- case UIService_Method_GetAudioInDevices:
- {
- SpReqAnsContext<UIService_GetAudioInDevices_Req,UIService_GetAudioInDevices_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetAudioInDevices_Req,UIService_GetAudioInDevices_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetAudioInDevices(ctx);
- }
- break;
- case UIService_Method_GetAudioOutDevices:
- {
- SpReqAnsContext<UIService_GetAudioOutDevices_Req,UIService_GetAudioOutDevices_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetAudioOutDevices_Req,UIService_GetAudioOutDevices_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetAudioOutDevices(ctx);
- }
- break;
- case UIService_Method_GetCameraInfo:
- {
- SpReqAnsContext<UIService_GetCameraInfo_Req,UIService_GetCameraInfo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetCameraInfo_Req,UIService_GetCameraInfo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetCameraInfo(ctx);
- }
- break;
- case UIService_Method_GetMediaDeviceInfo:
- {
- SpReqAnsContext<UIService_GetMediaDeviceInfo_Req,UIService_GetMediaDeviceInfo_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetMediaDeviceInfo_Req,UIService_GetMediaDeviceInfo_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetMediaDeviceInfo(ctx);
- }
- break;
- case UIService_Method_GetPickUpStatus:
- {
- SpReqAnsContext<UIService_GetPickUpStatus_Req,UIService_GetPickUpStatus_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetPickUpStatus_Req,UIService_GetPickUpStatus_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetPickUpStatus(ctx);
- }
- break;
- case UIService_Method_GetCameraState:
- {
- SpReqAnsContext<UIService_GetCameraState_Req,UIService_GetCameraState_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_GetCameraState_Req,UIService_GetCameraState_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_GetCameraState(ctx);
- }
- break;
- case UIService_Method_SetRemoteRecordCamera:
- {
- SpReqAnsContext<UIService_SetRemoteRecordCamera_Req,UIService_SetRemoteRecordCamera_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_SetRemoteRecordCamera_Req,UIService_SetRemoteRecordCamera_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_SetRemoteRecordCamera(ctx);
- }
- break;
- case UIService_Method_StartCameraCapture:
- {
- SpReqAnsContext<UIService_StartCameraCapture_Req,UIService_StartCameraCapture_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StartCameraCapture_Req,UIService_StartCameraCapture_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StartCameraCapture(ctx);
- }
- break;
- case UIService_Method_StopCameraCapture:
- {
- SpReqAnsContext<UIService_StopCameraCapture_Req,UIService_StopCameraCapture_Ans>::Pointer ctx;
- ctx.Attach(new SpReqAnsContext<UIService_StopCameraCapture_Req,UIService_StopCameraCapture_Ans>(pTransactionContext));
- SpBuffer2Object(Buf, ctx->Req);
- pTransactionContext->GetLinkContext(ctx->link);
- EntityResource::setLink(ctx->link);
- Handle_StopCameraCapture(ctx);
- }
- break;
- default:
- assert(0);
- break;
- }
-
- } else {
- pTransactionContext->SendAnswer(Error);
- }
- }
- };
- ///////////////////////////
- } // namespace InteractiveControl
- #endif // __INTERACTIVECONTROL_SERVER_G_H
|