GUIConsole_server_g.h 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488
  1. #ifndef __GUICONSOLE_SERVER_G_H
  2. #define __GUICONSOLE_SERVER_G_H
  3. #pragma once
  4. // This code is generated by spgen tool!
  5. #include "GUIConsole_def_g.h"
  6. namespace GUIConsole {
  7. class GUIConsoleService_ServerSessionBase : public CServerSessionBase
  8. {
  9. public:
  10. GUIConsoleService_ServerSessionBase()
  11. {
  12. /// override by user
  13. }
  14. virtual ~GUIConsoleService_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 GUIConsoleService_Method_OpenLogSender:
  25. if (dwSignature == GUIConsoleService_MethodSignature_OpenLogSender) {
  26. bOverlap = true;
  27. } else {
  28. Error = Error_MethodSignatureFailed;
  29. }
  30. break;
  31. case GUIConsoleService_Method_CloseLogSender:
  32. if (dwSignature == GUIConsoleService_MethodSignature_CloseLogSender) {
  33. bOverlap = true;
  34. } else {
  35. Error = Error_MethodSignatureFailed;
  36. }
  37. break;
  38. case GUIConsoleService_Method_OpenEntityMonitor:
  39. if (dwSignature == GUIConsoleService_MethodSignature_OpenEntityMonitor) {
  40. bOverlap = true;
  41. } else {
  42. Error = Error_MethodSignatureFailed;
  43. }
  44. break;
  45. case GUIConsoleService_Method_CloseEntityMonitor:
  46. if (dwSignature == GUIConsoleService_MethodSignature_CloseEntityMonitor) {
  47. bOverlap = true;
  48. } else {
  49. Error = Error_MethodSignatureFailed;
  50. }
  51. break;
  52. case GUIConsoleService_Method_OpenPerformanceSender:
  53. if (dwSignature == GUIConsoleService_MethodSignature_OpenPerformanceSender) {
  54. bOverlap = true;
  55. } else {
  56. Error = Error_MethodSignatureFailed;
  57. }
  58. break;
  59. case GUIConsoleService_Method_ClosePerformanceSender:
  60. if (dwSignature == GUIConsoleService_MethodSignature_ClosePerformanceSender) {
  61. bOverlap = true;
  62. } else {
  63. Error = Error_MethodSignatureFailed;
  64. }
  65. break;
  66. case GUIConsoleService_Method_VTMSystemControl:
  67. if (dwSignature == GUIConsoleService_MethodSignature_VTMSystemControl) {
  68. bOverlap = true;
  69. } else {
  70. Error = Error_MethodSignatureFailed;
  71. }
  72. break;
  73. case GUIConsoleService_Method_VTM_controlEntity:
  74. if (dwSignature == GUIConsoleService_MethodSignature_VTM_controlEntity) {
  75. bOverlap = true;
  76. } else {
  77. Error = Error_MethodSignatureFailed;
  78. }
  79. break;
  80. case GUIConsoleService_Method_GetAllEntityList:
  81. if (dwSignature == GUIConsoleService_MethodSignature_GetAllEntityList) {
  82. bOverlap = true;
  83. } else {
  84. Error = Error_MethodSignatureFailed;
  85. }
  86. break;
  87. case GUIConsoleService_Method_GetBasicInformation:
  88. if (dwSignature == GUIConsoleService_MethodSignature_GetBasicInformation) {
  89. bOverlap = true;
  90. } else {
  91. Error = Error_MethodSignatureFailed;
  92. }
  93. break;
  94. case GUIConsoleService_Method_GetHelpInformationArr:
  95. if (dwSignature == GUIConsoleService_MethodSignature_GetHelpInformationArr) {
  96. bOverlap = true;
  97. } else {
  98. Error = Error_MethodSignatureFailed;
  99. }
  100. break;
  101. case GUIConsoleService_Method_GetHelpDetail:
  102. if (dwSignature == GUIConsoleService_MethodSignature_GetHelpDetail) {
  103. bOverlap = true;
  104. } else {
  105. Error = Error_MethodSignatureFailed;
  106. }
  107. break;
  108. case GUIConsoleService_Method_OpenCommonPage:
  109. if (dwSignature == GUIConsoleService_MethodSignature_OpenCommonPage) {
  110. bOverlap = true;
  111. } else {
  112. Error = Error_MethodSignatureFailed;
  113. }
  114. break;
  115. case GUIConsoleService_Method_CloseCommonPage:
  116. if (dwSignature == GUIConsoleService_MethodSignature_CloseCommonPage) {
  117. bOverlap = true;
  118. } else {
  119. Error = Error_MethodSignatureFailed;
  120. }
  121. break;
  122. case GUIConsoleService_Method_ReservedCall:
  123. if (dwSignature == GUIConsoleService_MethodSignature_ReservedCall) {
  124. bOverlap = true;
  125. } else {
  126. Error = Error_MethodSignatureFailed;
  127. }
  128. break;
  129. default:
  130. Error = Error_MethodNotFound;
  131. break;
  132. }
  133. return Error;
  134. }
  135. int CheckMessageSignature(DWORD dwMessageID, DWORD dwSignature)
  136. {
  137. ErrorCodeEnum Error = Error_Succeed;
  138. switch (dwMessageID) {
  139. case GUIConsoleService_Method_OpenLogSender:
  140. if (dwSignature != GUIConsoleService_MethodSignature_OpenLogSender) {
  141. Error = Error_MethodSignatureFailed;
  142. }
  143. break;
  144. case GUIConsoleService_Method_CloseLogSender:
  145. if (dwSignature != GUIConsoleService_MethodSignature_CloseLogSender) {
  146. Error = Error_MethodSignatureFailed;
  147. }
  148. break;
  149. case GUIConsoleService_Method_OpenEntityMonitor:
  150. if (dwSignature != GUIConsoleService_MethodSignature_OpenEntityMonitor) {
  151. Error = Error_MethodSignatureFailed;
  152. }
  153. break;
  154. case GUIConsoleService_Method_CloseEntityMonitor:
  155. if (dwSignature != GUIConsoleService_MethodSignature_CloseEntityMonitor) {
  156. Error = Error_MethodSignatureFailed;
  157. }
  158. break;
  159. case GUIConsoleService_Method_OpenPerformanceSender:
  160. if (dwSignature != GUIConsoleService_MethodSignature_OpenPerformanceSender) {
  161. Error = Error_MethodSignatureFailed;
  162. }
  163. break;
  164. case GUIConsoleService_Method_ClosePerformanceSender:
  165. if (dwSignature != GUIConsoleService_MethodSignature_ClosePerformanceSender) {
  166. Error = Error_MethodSignatureFailed;
  167. }
  168. break;
  169. case GUIConsoleService_Method_VTMSystemControl:
  170. if (dwSignature != GUIConsoleService_MethodSignature_VTMSystemControl) {
  171. Error = Error_MethodSignatureFailed;
  172. }
  173. break;
  174. case GUIConsoleService_Method_VTM_controlEntity:
  175. if (dwSignature != GUIConsoleService_MethodSignature_VTM_controlEntity) {
  176. Error = Error_MethodSignatureFailed;
  177. }
  178. break;
  179. case GUIConsoleService_Method_GetAllEntityList:
  180. if (dwSignature != GUIConsoleService_MethodSignature_GetAllEntityList) {
  181. Error = Error_MethodSignatureFailed;
  182. }
  183. break;
  184. case GUIConsoleService_Method_GetBasicInformation:
  185. if (dwSignature != GUIConsoleService_MethodSignature_GetBasicInformation) {
  186. Error = Error_MethodSignatureFailed;
  187. }
  188. break;
  189. case GUIConsoleService_Method_GetHelpInformationArr:
  190. if (dwSignature != GUIConsoleService_MethodSignature_GetHelpInformationArr) {
  191. Error = Error_MethodSignatureFailed;
  192. }
  193. break;
  194. case GUIConsoleService_Method_GetHelpDetail:
  195. if (dwSignature != GUIConsoleService_MethodSignature_GetHelpDetail) {
  196. Error = Error_MethodSignatureFailed;
  197. }
  198. break;
  199. case GUIConsoleService_Method_OpenCommonPage:
  200. if (dwSignature != GUIConsoleService_MethodSignature_OpenCommonPage) {
  201. Error = Error_MethodSignatureFailed;
  202. }
  203. break;
  204. case GUIConsoleService_Method_CloseCommonPage:
  205. if (dwSignature != GUIConsoleService_MethodSignature_CloseCommonPage) {
  206. Error = Error_MethodSignatureFailed;
  207. }
  208. break;
  209. case GUIConsoleService_Method_ReservedCall:
  210. if (dwSignature != GUIConsoleService_MethodSignature_ReservedCall) {
  211. Error = Error_MethodSignatureFailed;
  212. }
  213. break;
  214. default:
  215. Error = Error_MethodNotFound;
  216. break;
  217. }
  218. return Error;
  219. }
  220. virtual void Handle_OpenLogSender(SpReqAnsContext<GUIConsoleService_OpenLogSender_Req, GUIConsoleService_OpenLogSender_Ans>::Pointer ctx)
  221. {
  222. /// override by user
  223. }
  224. virtual void Handle_CloseLogSender(SpReqAnsContext<GUIConsoleService_CloseLogSender_Req, GUIConsoleService_CloseLogSender_Ans>::Pointer ctx)
  225. {
  226. /// override by user
  227. }
  228. virtual void Handle_OpenEntityMonitor(SpReqAnsContext<GUIConsoleService_OpenEntityMonitor_Req, GUIConsoleService_OpenEntityMonitor_Ans>::Pointer ctx)
  229. {
  230. /// override by user
  231. }
  232. virtual void Handle_CloseEntityMonitor(SpReqAnsContext<GUIConsoleService_CloseEntityMonitor_Req, GUIConsoleService_CloseEntityMonitor_Ans>::Pointer ctx)
  233. {
  234. /// override by user
  235. }
  236. virtual void Handle_OpenPerformanceSender(SpReqAnsContext<GUIConsoleService_OpenPerformanceSender_Req, GUIConsoleService_OpenPerformanceSender_Ans>::Pointer ctx)
  237. {
  238. /// override by user
  239. }
  240. virtual void Handle_ClosePerformanceSender(SpReqAnsContext<GUIConsoleService_ClosePerformanceSender_Req, GUIConsoleService_ClosePerformanceSender_Ans>::Pointer ctx)
  241. {
  242. /// override by user
  243. }
  244. virtual void Handle_VTMSystemControl(SpReqAnsContext<GUIConsoleService_VTMSystemControl_Req, GUIConsoleService_VTMSystemControl_Ans>::Pointer ctx)
  245. {
  246. /// override by user
  247. }
  248. virtual void Handle_VTM_controlEntity(SpReqAnsContext<GUIConsoleService_VTM_controlEntity_Req, GUIConsoleService_VTM_controlEntity_Ans>::Pointer ctx)
  249. {
  250. /// override by user
  251. }
  252. virtual void Handle_GetAllEntityList(SpReqAnsContext<GUIConsoleService_GetAllEntityList_Req, GUIConsoleService_GetAllEntityList_Ans>::Pointer ctx)
  253. {
  254. /// override by user
  255. }
  256. virtual void Handle_GetBasicInformation(SpReqAnsContext<GUIConsoleService_GetBasicInformation_Req, GUIConsoleService_GetBasicInformation_Ans>::Pointer ctx)
  257. {
  258. /// override by user
  259. }
  260. virtual void Handle_GetHelpInformationArr(SpReqAnsContext<GUIConsoleService_GetHelpInformationArr_Req, GUIConsoleService_GetHelpInformationArr_Ans>::Pointer ctx)
  261. {
  262. /// override by user
  263. }
  264. virtual void Handle_GetHelpDetail(SpReqAnsContext<GUIConsoleService_GetHelpDetail_Req, GUIConsoleService_GetHelpDetail_Ans>::Pointer ctx)
  265. {
  266. /// override by user
  267. }
  268. virtual void Handle_OpenCommonPage(SpReqAnsContext<GUIConsoleService_OpenCommonPage_Req, GUIConsoleService_OpenCommonPage_Ans>::Pointer ctx)
  269. {
  270. /// override by user
  271. }
  272. virtual void Handle_CloseCommonPage(SpReqAnsContext<GUIConsoleService_CloseCommonPage_Req, GUIConsoleService_CloseCommonPage_Ans>::Pointer ctx)
  273. {
  274. /// override by user
  275. }
  276. virtual void Handle_ReservedCall(SpReqAnsContext<GUIConsoleService_ReservedCall_Req, GUIConsoleService_ReservedCall_Ans>::Pointer ctx)
  277. {
  278. /// override by user
  279. }
  280. virtual void OnRequest(CSmartPointer<ITransactionContext> pTransactionContext)
  281. {
  282. CAutoBuffer Buf;
  283. DWORD dwMessageID;
  284. DWORD dwMessageSignature;
  285. ErrorCodeEnum Error = pTransactionContext->GetReceiveBuffer(dwMessageID, dwMessageSignature, Buf);
  286. if (Error == Error_Succeed) {
  287. #ifdef DEBUG
  288. assert(CheckMessageSignature(dwMessageID, dwMessageSignature) == Error_Succeed);
  289. #else
  290. if (CheckMessageSignature(dwMessageID, dwMessageSignature) != Error_Succeed) {
  291. pTransactionContext->SendAnswer(Error_MethodSignatureFailed);
  292. return;
  293. }
  294. #endif
  295. switch (dwMessageID) {
  296. case GUIConsoleService_Method_OpenLogSender:
  297. {
  298. SpReqAnsContext<GUIConsoleService_OpenLogSender_Req,GUIConsoleService_OpenLogSender_Ans>::Pointer ctx;
  299. ctx.Attach(new SpReqAnsContext<GUIConsoleService_OpenLogSender_Req,GUIConsoleService_OpenLogSender_Ans>(pTransactionContext));
  300. SpBuffer2Object(Buf, ctx->Req);
  301. pTransactionContext->GetLinkContext(ctx->link);
  302. EntityResource::setLink(ctx->link);
  303. Handle_OpenLogSender(ctx);
  304. }
  305. break;
  306. case GUIConsoleService_Method_CloseLogSender:
  307. {
  308. SpReqAnsContext<GUIConsoleService_CloseLogSender_Req,GUIConsoleService_CloseLogSender_Ans>::Pointer ctx;
  309. ctx.Attach(new SpReqAnsContext<GUIConsoleService_CloseLogSender_Req,GUIConsoleService_CloseLogSender_Ans>(pTransactionContext));
  310. SpBuffer2Object(Buf, ctx->Req);
  311. pTransactionContext->GetLinkContext(ctx->link);
  312. EntityResource::setLink(ctx->link);
  313. Handle_CloseLogSender(ctx);
  314. }
  315. break;
  316. case GUIConsoleService_Method_OpenEntityMonitor:
  317. {
  318. SpReqAnsContext<GUIConsoleService_OpenEntityMonitor_Req,GUIConsoleService_OpenEntityMonitor_Ans>::Pointer ctx;
  319. ctx.Attach(new SpReqAnsContext<GUIConsoleService_OpenEntityMonitor_Req,GUIConsoleService_OpenEntityMonitor_Ans>(pTransactionContext));
  320. SpBuffer2Object(Buf, ctx->Req);
  321. pTransactionContext->GetLinkContext(ctx->link);
  322. EntityResource::setLink(ctx->link);
  323. Handle_OpenEntityMonitor(ctx);
  324. }
  325. break;
  326. case GUIConsoleService_Method_CloseEntityMonitor:
  327. {
  328. SpReqAnsContext<GUIConsoleService_CloseEntityMonitor_Req,GUIConsoleService_CloseEntityMonitor_Ans>::Pointer ctx;
  329. ctx.Attach(new SpReqAnsContext<GUIConsoleService_CloseEntityMonitor_Req,GUIConsoleService_CloseEntityMonitor_Ans>(pTransactionContext));
  330. SpBuffer2Object(Buf, ctx->Req);
  331. pTransactionContext->GetLinkContext(ctx->link);
  332. EntityResource::setLink(ctx->link);
  333. Handle_CloseEntityMonitor(ctx);
  334. }
  335. break;
  336. case GUIConsoleService_Method_OpenPerformanceSender:
  337. {
  338. SpReqAnsContext<GUIConsoleService_OpenPerformanceSender_Req,GUIConsoleService_OpenPerformanceSender_Ans>::Pointer ctx;
  339. ctx.Attach(new SpReqAnsContext<GUIConsoleService_OpenPerformanceSender_Req,GUIConsoleService_OpenPerformanceSender_Ans>(pTransactionContext));
  340. SpBuffer2Object(Buf, ctx->Req);
  341. pTransactionContext->GetLinkContext(ctx->link);
  342. EntityResource::setLink(ctx->link);
  343. Handle_OpenPerformanceSender(ctx);
  344. }
  345. break;
  346. case GUIConsoleService_Method_ClosePerformanceSender:
  347. {
  348. SpReqAnsContext<GUIConsoleService_ClosePerformanceSender_Req,GUIConsoleService_ClosePerformanceSender_Ans>::Pointer ctx;
  349. ctx.Attach(new SpReqAnsContext<GUIConsoleService_ClosePerformanceSender_Req,GUIConsoleService_ClosePerformanceSender_Ans>(pTransactionContext));
  350. SpBuffer2Object(Buf, ctx->Req);
  351. pTransactionContext->GetLinkContext(ctx->link);
  352. EntityResource::setLink(ctx->link);
  353. Handle_ClosePerformanceSender(ctx);
  354. }
  355. break;
  356. case GUIConsoleService_Method_VTMSystemControl:
  357. {
  358. SpReqAnsContext<GUIConsoleService_VTMSystemControl_Req,GUIConsoleService_VTMSystemControl_Ans>::Pointer ctx;
  359. ctx.Attach(new SpReqAnsContext<GUIConsoleService_VTMSystemControl_Req,GUIConsoleService_VTMSystemControl_Ans>(pTransactionContext));
  360. SpBuffer2Object(Buf, ctx->Req);
  361. pTransactionContext->GetLinkContext(ctx->link);
  362. EntityResource::setLink(ctx->link);
  363. Handle_VTMSystemControl(ctx);
  364. }
  365. break;
  366. case GUIConsoleService_Method_VTM_controlEntity:
  367. {
  368. SpReqAnsContext<GUIConsoleService_VTM_controlEntity_Req,GUIConsoleService_VTM_controlEntity_Ans>::Pointer ctx;
  369. ctx.Attach(new SpReqAnsContext<GUIConsoleService_VTM_controlEntity_Req,GUIConsoleService_VTM_controlEntity_Ans>(pTransactionContext));
  370. SpBuffer2Object(Buf, ctx->Req);
  371. pTransactionContext->GetLinkContext(ctx->link);
  372. EntityResource::setLink(ctx->link);
  373. Handle_VTM_controlEntity(ctx);
  374. }
  375. break;
  376. case GUIConsoleService_Method_GetAllEntityList:
  377. {
  378. SpReqAnsContext<GUIConsoleService_GetAllEntityList_Req,GUIConsoleService_GetAllEntityList_Ans>::Pointer ctx;
  379. ctx.Attach(new SpReqAnsContext<GUIConsoleService_GetAllEntityList_Req,GUIConsoleService_GetAllEntityList_Ans>(pTransactionContext));
  380. SpBuffer2Object(Buf, ctx->Req);
  381. pTransactionContext->GetLinkContext(ctx->link);
  382. EntityResource::setLink(ctx->link);
  383. Handle_GetAllEntityList(ctx);
  384. }
  385. break;
  386. case GUIConsoleService_Method_GetBasicInformation:
  387. {
  388. SpReqAnsContext<GUIConsoleService_GetBasicInformation_Req,GUIConsoleService_GetBasicInformation_Ans>::Pointer ctx;
  389. ctx.Attach(new SpReqAnsContext<GUIConsoleService_GetBasicInformation_Req,GUIConsoleService_GetBasicInformation_Ans>(pTransactionContext));
  390. SpBuffer2Object(Buf, ctx->Req);
  391. pTransactionContext->GetLinkContext(ctx->link);
  392. EntityResource::setLink(ctx->link);
  393. Handle_GetBasicInformation(ctx);
  394. }
  395. break;
  396. case GUIConsoleService_Method_GetHelpInformationArr:
  397. {
  398. SpReqAnsContext<GUIConsoleService_GetHelpInformationArr_Req,GUIConsoleService_GetHelpInformationArr_Ans>::Pointer ctx;
  399. ctx.Attach(new SpReqAnsContext<GUIConsoleService_GetHelpInformationArr_Req,GUIConsoleService_GetHelpInformationArr_Ans>(pTransactionContext));
  400. SpBuffer2Object(Buf, ctx->Req);
  401. pTransactionContext->GetLinkContext(ctx->link);
  402. EntityResource::setLink(ctx->link);
  403. Handle_GetHelpInformationArr(ctx);
  404. }
  405. break;
  406. case GUIConsoleService_Method_GetHelpDetail:
  407. {
  408. SpReqAnsContext<GUIConsoleService_GetHelpDetail_Req,GUIConsoleService_GetHelpDetail_Ans>::Pointer ctx;
  409. ctx.Attach(new SpReqAnsContext<GUIConsoleService_GetHelpDetail_Req,GUIConsoleService_GetHelpDetail_Ans>(pTransactionContext));
  410. SpBuffer2Object(Buf, ctx->Req);
  411. pTransactionContext->GetLinkContext(ctx->link);
  412. EntityResource::setLink(ctx->link);
  413. Handle_GetHelpDetail(ctx);
  414. }
  415. break;
  416. case GUIConsoleService_Method_OpenCommonPage:
  417. {
  418. SpReqAnsContext<GUIConsoleService_OpenCommonPage_Req,GUIConsoleService_OpenCommonPage_Ans>::Pointer ctx;
  419. ctx.Attach(new SpReqAnsContext<GUIConsoleService_OpenCommonPage_Req,GUIConsoleService_OpenCommonPage_Ans>(pTransactionContext));
  420. SpBuffer2Object(Buf, ctx->Req);
  421. pTransactionContext->GetLinkContext(ctx->link);
  422. EntityResource::setLink(ctx->link);
  423. Handle_OpenCommonPage(ctx);
  424. }
  425. break;
  426. case GUIConsoleService_Method_CloseCommonPage:
  427. {
  428. SpReqAnsContext<GUIConsoleService_CloseCommonPage_Req,GUIConsoleService_CloseCommonPage_Ans>::Pointer ctx;
  429. ctx.Attach(new SpReqAnsContext<GUIConsoleService_CloseCommonPage_Req,GUIConsoleService_CloseCommonPage_Ans>(pTransactionContext));
  430. SpBuffer2Object(Buf, ctx->Req);
  431. pTransactionContext->GetLinkContext(ctx->link);
  432. EntityResource::setLink(ctx->link);
  433. Handle_CloseCommonPage(ctx);
  434. }
  435. break;
  436. case GUIConsoleService_Method_ReservedCall:
  437. {
  438. SpReqAnsContext<GUIConsoleService_ReservedCall_Req,GUIConsoleService_ReservedCall_Ans>::Pointer ctx;
  439. ctx.Attach(new SpReqAnsContext<GUIConsoleService_ReservedCall_Req,GUIConsoleService_ReservedCall_Ans>(pTransactionContext));
  440. SpBuffer2Object(Buf, ctx->Req);
  441. pTransactionContext->GetLinkContext(ctx->link);
  442. EntityResource::setLink(ctx->link);
  443. Handle_ReservedCall(ctx);
  444. }
  445. break;
  446. default:
  447. assert(0);
  448. break;
  449. }
  450. } else {
  451. pTransactionContext->SendAnswer(Error);
  452. }
  453. }
  454. };
  455. ///////////////////////////
  456. } // namespace GUIConsole
  457. #endif // __GUICONSOLE_SERVER_G_H