00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 package cast.interfaces;
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 public final class _WorkingMemoryDelD extends Ice._ObjectDelD implements _WorkingMemoryDel
00024 {
00025 public void
00026 beat(java.util.Map<String, String> __ctx)
00027 throws IceInternal.LocalExceptionWrapper
00028 {
00029 final Ice.Current __current = new Ice.Current();
00030 __initCurrent(__current, "beat", Ice.OperationMode.Idempotent, __ctx);
00031 IceInternal.Direct __direct = null;
00032 try
00033 {
00034 __direct = new IceInternal.Direct(__current)
00035 {
00036 public Ice.DispatchStatus run(Ice.Object __obj)
00037 {
00038 WorkingMemory __servant = null;
00039 try
00040 {
00041 __servant = (WorkingMemory)__obj;
00042 }
00043 catch(ClassCastException __ex)
00044 {
00045 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00046 }
00047 __servant.beat(__current);
00048 return Ice.DispatchStatus.DispatchOK;
00049 }
00050 };
00051 try
00052 {
00053 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00054 if(__status == Ice.DispatchStatus.DispatchUserException)
00055 {
00056 __direct.throwUserException();
00057 }
00058 assert __status == Ice.DispatchStatus.DispatchOK;
00059 }
00060 finally
00061 {
00062 __direct.destroy();
00063 }
00064 }
00065 catch(Ice.SystemException __ex)
00066 {
00067 throw __ex;
00068 }
00069 catch(java.lang.Throwable __ex)
00070 {
00071 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00072 }
00073 }
00074
00075 public void
00076 configure(final java.util.Map<java.lang.String, java.lang.String> config, java.util.Map<String, String> __ctx)
00077 throws IceInternal.LocalExceptionWrapper
00078 {
00079 final Ice.Current __current = new Ice.Current();
00080 __initCurrent(__current, "configure", Ice.OperationMode.Normal, __ctx);
00081 IceInternal.Direct __direct = null;
00082 try
00083 {
00084 __direct = new IceInternal.Direct(__current)
00085 {
00086 public Ice.DispatchStatus run(Ice.Object __obj)
00087 {
00088 WorkingMemory __servant = null;
00089 try
00090 {
00091 __servant = (WorkingMemory)__obj;
00092 }
00093 catch(ClassCastException __ex)
00094 {
00095 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00096 }
00097 __servant.configure(config, __current);
00098 return Ice.DispatchStatus.DispatchOK;
00099 }
00100 };
00101 try
00102 {
00103 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00104 if(__status == Ice.DispatchStatus.DispatchUserException)
00105 {
00106 __direct.throwUserException();
00107 }
00108 assert __status == Ice.DispatchStatus.DispatchOK;
00109 }
00110 finally
00111 {
00112 __direct.destroy();
00113 }
00114 }
00115 catch(Ice.SystemException __ex)
00116 {
00117 throw __ex;
00118 }
00119 catch(java.lang.Throwable __ex)
00120 {
00121 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00122 }
00123 }
00124
00125 public void
00126 destroy(java.util.Map<String, String> __ctx)
00127 throws IceInternal.LocalExceptionWrapper
00128 {
00129 final Ice.Current __current = new Ice.Current();
00130 __initCurrent(__current, "destroy", Ice.OperationMode.Normal, __ctx);
00131 IceInternal.Direct __direct = null;
00132 try
00133 {
00134 __direct = new IceInternal.Direct(__current)
00135 {
00136 public Ice.DispatchStatus run(Ice.Object __obj)
00137 {
00138 WorkingMemory __servant = null;
00139 try
00140 {
00141 __servant = (WorkingMemory)__obj;
00142 }
00143 catch(ClassCastException __ex)
00144 {
00145 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00146 }
00147 __servant.destroy(__current);
00148 return Ice.DispatchStatus.DispatchOK;
00149 }
00150 };
00151 try
00152 {
00153 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00154 if(__status == Ice.DispatchStatus.DispatchUserException)
00155 {
00156 __direct.throwUserException();
00157 }
00158 assert __status == Ice.DispatchStatus.DispatchOK;
00159 }
00160 finally
00161 {
00162 __direct.destroy();
00163 }
00164 }
00165 catch(Ice.SystemException __ex)
00166 {
00167 throw __ex;
00168 }
00169 catch(java.lang.Throwable __ex)
00170 {
00171 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00172 }
00173 }
00174
00175 public String
00176 getID(java.util.Map<String, String> __ctx)
00177 throws IceInternal.LocalExceptionWrapper
00178 {
00179 final Ice.Current __current = new Ice.Current();
00180 __initCurrent(__current, "getID", Ice.OperationMode.Idempotent, __ctx);
00181 final Ice.StringHolder __result = new Ice.StringHolder();
00182 IceInternal.Direct __direct = null;
00183 try
00184 {
00185 __direct = new IceInternal.Direct(__current)
00186 {
00187 public Ice.DispatchStatus run(Ice.Object __obj)
00188 {
00189 WorkingMemory __servant = null;
00190 try
00191 {
00192 __servant = (WorkingMemory)__obj;
00193 }
00194 catch(ClassCastException __ex)
00195 {
00196 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00197 }
00198 __result.value = __servant.getID(__current);
00199 return Ice.DispatchStatus.DispatchOK;
00200 }
00201 };
00202 try
00203 {
00204 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00205 if(__status == Ice.DispatchStatus.DispatchUserException)
00206 {
00207 __direct.throwUserException();
00208 }
00209 assert __status == Ice.DispatchStatus.DispatchOK;
00210 return __result.value;
00211 }
00212 finally
00213 {
00214 __direct.destroy();
00215 }
00216 }
00217 catch(Ice.SystemException __ex)
00218 {
00219 throw __ex;
00220 }
00221 catch(java.lang.Throwable __ex)
00222 {
00223 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00224 }
00225 return __result.value;
00226 }
00227
00228 public void
00229 run(java.util.Map<String, String> __ctx)
00230 throws IceInternal.LocalExceptionWrapper
00231 {
00232 final Ice.Current __current = new Ice.Current();
00233 __initCurrent(__current, "run", Ice.OperationMode.Normal, __ctx);
00234 IceInternal.Direct __direct = null;
00235 try
00236 {
00237 __direct = new IceInternal.Direct(__current)
00238 {
00239 public Ice.DispatchStatus run(Ice.Object __obj)
00240 {
00241 WorkingMemory __servant = null;
00242 try
00243 {
00244 __servant = (WorkingMemory)__obj;
00245 }
00246 catch(ClassCastException __ex)
00247 {
00248 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00249 }
00250 __servant.run(__current);
00251 return Ice.DispatchStatus.DispatchOK;
00252 }
00253 };
00254 try
00255 {
00256 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00257 if(__status == Ice.DispatchStatus.DispatchUserException)
00258 {
00259 __direct.throwUserException();
00260 }
00261 assert __status == Ice.DispatchStatus.DispatchOK;
00262 }
00263 finally
00264 {
00265 __direct.destroy();
00266 }
00267 }
00268 catch(Ice.SystemException __ex)
00269 {
00270 throw __ex;
00271 }
00272 catch(java.lang.Throwable __ex)
00273 {
00274 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00275 }
00276 }
00277
00278 public void
00279 setComponentManager(final ComponentManagerPrx man, java.util.Map<String, String> __ctx)
00280 throws IceInternal.LocalExceptionWrapper
00281 {
00282 final Ice.Current __current = new Ice.Current();
00283 __initCurrent(__current, "setComponentManager", Ice.OperationMode.Normal, __ctx);
00284 IceInternal.Direct __direct = null;
00285 try
00286 {
00287 __direct = new IceInternal.Direct(__current)
00288 {
00289 public Ice.DispatchStatus run(Ice.Object __obj)
00290 {
00291 WorkingMemory __servant = null;
00292 try
00293 {
00294 __servant = (WorkingMemory)__obj;
00295 }
00296 catch(ClassCastException __ex)
00297 {
00298 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00299 }
00300 __servant.setComponentManager(man, __current);
00301 return Ice.DispatchStatus.DispatchOK;
00302 }
00303 };
00304 try
00305 {
00306 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00307 if(__status == Ice.DispatchStatus.DispatchUserException)
00308 {
00309 __direct.throwUserException();
00310 }
00311 assert __status == Ice.DispatchStatus.DispatchOK;
00312 }
00313 finally
00314 {
00315 __direct.destroy();
00316 }
00317 }
00318 catch(Ice.SystemException __ex)
00319 {
00320 throw __ex;
00321 }
00322 catch(java.lang.Throwable __ex)
00323 {
00324 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00325 }
00326 }
00327
00328 public void
00329 setID(final String id, java.util.Map<String, String> __ctx)
00330 throws IceInternal.LocalExceptionWrapper
00331 {
00332 final Ice.Current __current = new Ice.Current();
00333 __initCurrent(__current, "setID", Ice.OperationMode.Normal, __ctx);
00334 IceInternal.Direct __direct = null;
00335 try
00336 {
00337 __direct = new IceInternal.Direct(__current)
00338 {
00339 public Ice.DispatchStatus run(Ice.Object __obj)
00340 {
00341 WorkingMemory __servant = null;
00342 try
00343 {
00344 __servant = (WorkingMemory)__obj;
00345 }
00346 catch(ClassCastException __ex)
00347 {
00348 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00349 }
00350 __servant.setID(id, __current);
00351 return Ice.DispatchStatus.DispatchOK;
00352 }
00353 };
00354 try
00355 {
00356 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00357 if(__status == Ice.DispatchStatus.DispatchUserException)
00358 {
00359 __direct.throwUserException();
00360 }
00361 assert __status == Ice.DispatchStatus.DispatchOK;
00362 }
00363 finally
00364 {
00365 __direct.destroy();
00366 }
00367 }
00368 catch(Ice.SystemException __ex)
00369 {
00370 throw __ex;
00371 }
00372 catch(java.lang.Throwable __ex)
00373 {
00374 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00375 }
00376 }
00377
00378 public void
00379 setTimeServer(final TimeServerPrx ts, java.util.Map<String, String> __ctx)
00380 throws IceInternal.LocalExceptionWrapper
00381 {
00382 final Ice.Current __current = new Ice.Current();
00383 __initCurrent(__current, "setTimeServer", Ice.OperationMode.Normal, __ctx);
00384 IceInternal.Direct __direct = null;
00385 try
00386 {
00387 __direct = new IceInternal.Direct(__current)
00388 {
00389 public Ice.DispatchStatus run(Ice.Object __obj)
00390 {
00391 WorkingMemory __servant = null;
00392 try
00393 {
00394 __servant = (WorkingMemory)__obj;
00395 }
00396 catch(ClassCastException __ex)
00397 {
00398 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00399 }
00400 __servant.setTimeServer(ts, __current);
00401 return Ice.DispatchStatus.DispatchOK;
00402 }
00403 };
00404 try
00405 {
00406 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00407 if(__status == Ice.DispatchStatus.DispatchUserException)
00408 {
00409 __direct.throwUserException();
00410 }
00411 assert __status == Ice.DispatchStatus.DispatchOK;
00412 }
00413 finally
00414 {
00415 __direct.destroy();
00416 }
00417 }
00418 catch(Ice.SystemException __ex)
00419 {
00420 throw __ex;
00421 }
00422 catch(java.lang.Throwable __ex)
00423 {
00424 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00425 }
00426 }
00427
00428 public void
00429 start(java.util.Map<String, String> __ctx)
00430 throws IceInternal.LocalExceptionWrapper
00431 {
00432 final Ice.Current __current = new Ice.Current();
00433 __initCurrent(__current, "start", Ice.OperationMode.Normal, __ctx);
00434 IceInternal.Direct __direct = null;
00435 try
00436 {
00437 __direct = new IceInternal.Direct(__current)
00438 {
00439 public Ice.DispatchStatus run(Ice.Object __obj)
00440 {
00441 WorkingMemory __servant = null;
00442 try
00443 {
00444 __servant = (WorkingMemory)__obj;
00445 }
00446 catch(ClassCastException __ex)
00447 {
00448 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00449 }
00450 __servant.start(__current);
00451 return Ice.DispatchStatus.DispatchOK;
00452 }
00453 };
00454 try
00455 {
00456 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00457 if(__status == Ice.DispatchStatus.DispatchUserException)
00458 {
00459 __direct.throwUserException();
00460 }
00461 assert __status == Ice.DispatchStatus.DispatchOK;
00462 }
00463 finally
00464 {
00465 __direct.destroy();
00466 }
00467 }
00468 catch(Ice.SystemException __ex)
00469 {
00470 throw __ex;
00471 }
00472 catch(java.lang.Throwable __ex)
00473 {
00474 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00475 }
00476 }
00477
00478 public void
00479 stop(java.util.Map<String, String> __ctx)
00480 throws IceInternal.LocalExceptionWrapper
00481 {
00482 final Ice.Current __current = new Ice.Current();
00483 __initCurrent(__current, "stop", Ice.OperationMode.Normal, __ctx);
00484 IceInternal.Direct __direct = null;
00485 try
00486 {
00487 __direct = new IceInternal.Direct(__current)
00488 {
00489 public Ice.DispatchStatus run(Ice.Object __obj)
00490 {
00491 WorkingMemory __servant = null;
00492 try
00493 {
00494 __servant = (WorkingMemory)__obj;
00495 }
00496 catch(ClassCastException __ex)
00497 {
00498 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00499 }
00500 __servant.stop(__current);
00501 return Ice.DispatchStatus.DispatchOK;
00502 }
00503 };
00504 try
00505 {
00506 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00507 if(__status == Ice.DispatchStatus.DispatchUserException)
00508 {
00509 __direct.throwUserException();
00510 }
00511 assert __status == Ice.DispatchStatus.DispatchOK;
00512 }
00513 finally
00514 {
00515 __direct.destroy();
00516 }
00517 }
00518 catch(Ice.SystemException __ex)
00519 {
00520 throw __ex;
00521 }
00522 catch(java.lang.Throwable __ex)
00523 {
00524 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00525 }
00526 }
00527
00528 public void
00529 addReader(final WorkingMemoryReaderComponentPrx reader, java.util.Map<String, String> __ctx)
00530 throws IceInternal.LocalExceptionWrapper
00531 {
00532 final Ice.Current __current = new Ice.Current();
00533 __initCurrent(__current, "addReader", Ice.OperationMode.Normal, __ctx);
00534 IceInternal.Direct __direct = null;
00535 try
00536 {
00537 __direct = new IceInternal.Direct(__current)
00538 {
00539 public Ice.DispatchStatus run(Ice.Object __obj)
00540 {
00541 WorkingMemory __servant = null;
00542 try
00543 {
00544 __servant = (WorkingMemory)__obj;
00545 }
00546 catch(ClassCastException __ex)
00547 {
00548 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00549 }
00550 __servant.addReader(reader, __current);
00551 return Ice.DispatchStatus.DispatchOK;
00552 }
00553 };
00554 try
00555 {
00556 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00557 if(__status == Ice.DispatchStatus.DispatchUserException)
00558 {
00559 __direct.throwUserException();
00560 }
00561 assert __status == Ice.DispatchStatus.DispatchOK;
00562 }
00563 finally
00564 {
00565 __direct.destroy();
00566 }
00567 }
00568 catch(Ice.SystemException __ex)
00569 {
00570 throw __ex;
00571 }
00572 catch(java.lang.Throwable __ex)
00573 {
00574 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00575 }
00576 }
00577
00578 public void
00579 addToWorkingMemory(final String id, final String subarch, final String type, final String component, final Ice.Object entry, java.util.Map<String, String> __ctx)
00580 throws IceInternal.LocalExceptionWrapper,
00581 cast.AlreadyExistsOnWMException,
00582 cast.UnknownSubarchitectureException
00583 {
00584 final Ice.Current __current = new Ice.Current();
00585 __initCurrent(__current, "addToWorkingMemory", Ice.OperationMode.Normal, __ctx);
00586 IceInternal.Direct __direct = null;
00587 try
00588 {
00589 __direct = new IceInternal.Direct(__current)
00590 {
00591 public Ice.DispatchStatus run(Ice.Object __obj)
00592 {
00593 WorkingMemory __servant = null;
00594 try
00595 {
00596 __servant = (WorkingMemory)__obj;
00597 }
00598 catch(ClassCastException __ex)
00599 {
00600 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00601 }
00602 try
00603 {
00604 __servant.addToWorkingMemory(id, subarch, type, component, entry, __current);
00605 return Ice.DispatchStatus.DispatchOK;
00606 }
00607 catch(Ice.UserException __ex)
00608 {
00609 setUserException(__ex);
00610 return Ice.DispatchStatus.DispatchUserException;
00611 }
00612 }
00613 };
00614 try
00615 {
00616 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00617 if(__status == Ice.DispatchStatus.DispatchUserException)
00618 {
00619 __direct.throwUserException();
00620 }
00621 assert __status == Ice.DispatchStatus.DispatchOK;
00622 }
00623 finally
00624 {
00625 __direct.destroy();
00626 }
00627 }
00628 catch(cast.AlreadyExistsOnWMException __ex)
00629 {
00630 throw __ex;
00631 }
00632 catch(cast.UnknownSubarchitectureException __ex)
00633 {
00634 throw __ex;
00635 }
00636 catch(Ice.SystemException __ex)
00637 {
00638 throw __ex;
00639 }
00640 catch(java.lang.Throwable __ex)
00641 {
00642 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00643 }
00644 }
00645
00646 public void
00647 deleteFromWorkingMemory(final String id, final String subarch, final String component, java.util.Map<String, String> __ctx)
00648 throws IceInternal.LocalExceptionWrapper,
00649 cast.DoesNotExistOnWMException,
00650 cast.UnknownSubarchitectureException
00651 {
00652 final Ice.Current __current = new Ice.Current();
00653 __initCurrent(__current, "deleteFromWorkingMemory", Ice.OperationMode.Normal, __ctx);
00654 IceInternal.Direct __direct = null;
00655 try
00656 {
00657 __direct = new IceInternal.Direct(__current)
00658 {
00659 public Ice.DispatchStatus run(Ice.Object __obj)
00660 {
00661 WorkingMemory __servant = null;
00662 try
00663 {
00664 __servant = (WorkingMemory)__obj;
00665 }
00666 catch(ClassCastException __ex)
00667 {
00668 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00669 }
00670 try
00671 {
00672 __servant.deleteFromWorkingMemory(id, subarch, component, __current);
00673 return Ice.DispatchStatus.DispatchOK;
00674 }
00675 catch(Ice.UserException __ex)
00676 {
00677 setUserException(__ex);
00678 return Ice.DispatchStatus.DispatchUserException;
00679 }
00680 }
00681 };
00682 try
00683 {
00684 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00685 if(__status == Ice.DispatchStatus.DispatchUserException)
00686 {
00687 __direct.throwUserException();
00688 }
00689 assert __status == Ice.DispatchStatus.DispatchOK;
00690 }
00691 finally
00692 {
00693 __direct.destroy();
00694 }
00695 }
00696 catch(cast.DoesNotExistOnWMException __ex)
00697 {
00698 throw __ex;
00699 }
00700 catch(cast.UnknownSubarchitectureException __ex)
00701 {
00702 throw __ex;
00703 }
00704 catch(Ice.SystemException __ex)
00705 {
00706 throw __ex;
00707 }
00708 catch(java.lang.Throwable __ex)
00709 {
00710 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00711 }
00712 }
00713
00714 public boolean
00715 exists(final String id, final String subarch, java.util.Map<String, String> __ctx)
00716 throws IceInternal.LocalExceptionWrapper,
00717 cast.UnknownSubarchitectureException
00718 {
00719 final Ice.Current __current = new Ice.Current();
00720 __initCurrent(__current, "exists", Ice.OperationMode.Idempotent, __ctx);
00721 final Ice.BooleanHolder __result = new Ice.BooleanHolder();
00722 IceInternal.Direct __direct = null;
00723 try
00724 {
00725 __direct = new IceInternal.Direct(__current)
00726 {
00727 public Ice.DispatchStatus run(Ice.Object __obj)
00728 {
00729 WorkingMemory __servant = null;
00730 try
00731 {
00732 __servant = (WorkingMemory)__obj;
00733 }
00734 catch(ClassCastException __ex)
00735 {
00736 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00737 }
00738 try
00739 {
00740 __result.value = __servant.exists(id, subarch, __current);
00741 return Ice.DispatchStatus.DispatchOK;
00742 }
00743 catch(Ice.UserException __ex)
00744 {
00745 setUserException(__ex);
00746 return Ice.DispatchStatus.DispatchUserException;
00747 }
00748 }
00749 };
00750 try
00751 {
00752 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00753 if(__status == Ice.DispatchStatus.DispatchUserException)
00754 {
00755 __direct.throwUserException();
00756 }
00757 assert __status == Ice.DispatchStatus.DispatchOK;
00758 return __result.value;
00759 }
00760 finally
00761 {
00762 __direct.destroy();
00763 }
00764 }
00765 catch(cast.UnknownSubarchitectureException __ex)
00766 {
00767 throw __ex;
00768 }
00769 catch(Ice.SystemException __ex)
00770 {
00771 throw __ex;
00772 }
00773 catch(java.lang.Throwable __ex)
00774 {
00775 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00776 }
00777 return __result.value;
00778 }
00779
00780 public cast.cdl.WorkingMemoryPermissions
00781 getPermissions(final String id, final String subarch, java.util.Map<String, String> __ctx)
00782 throws IceInternal.LocalExceptionWrapper,
00783 cast.DoesNotExistOnWMException,
00784 cast.UnknownSubarchitectureException
00785 {
00786 final Ice.Current __current = new Ice.Current();
00787 __initCurrent(__current, "getPermissions", Ice.OperationMode.Idempotent, __ctx);
00788 final cast.cdl.WorkingMemoryPermissionsHolder __result = new cast.cdl.WorkingMemoryPermissionsHolder();
00789 IceInternal.Direct __direct = null;
00790 try
00791 {
00792 __direct = new IceInternal.Direct(__current)
00793 {
00794 public Ice.DispatchStatus run(Ice.Object __obj)
00795 {
00796 WorkingMemory __servant = null;
00797 try
00798 {
00799 __servant = (WorkingMemory)__obj;
00800 }
00801 catch(ClassCastException __ex)
00802 {
00803 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00804 }
00805 try
00806 {
00807 __result.value = __servant.getPermissions(id, subarch, __current);
00808 return Ice.DispatchStatus.DispatchOK;
00809 }
00810 catch(Ice.UserException __ex)
00811 {
00812 setUserException(__ex);
00813 return Ice.DispatchStatus.DispatchUserException;
00814 }
00815 }
00816 };
00817 try
00818 {
00819 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00820 if(__status == Ice.DispatchStatus.DispatchUserException)
00821 {
00822 __direct.throwUserException();
00823 }
00824 assert __status == Ice.DispatchStatus.DispatchOK;
00825 return __result.value;
00826 }
00827 finally
00828 {
00829 __direct.destroy();
00830 }
00831 }
00832 catch(cast.DoesNotExistOnWMException __ex)
00833 {
00834 throw __ex;
00835 }
00836 catch(cast.UnknownSubarchitectureException __ex)
00837 {
00838 throw __ex;
00839 }
00840 catch(Ice.SystemException __ex)
00841 {
00842 throw __ex;
00843 }
00844 catch(java.lang.Throwable __ex)
00845 {
00846 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00847 }
00848 return __result.value;
00849 }
00850
00851 public int
00852 getVersionNumber(final String id, final String subarch, java.util.Map<String, String> __ctx)
00853 throws IceInternal.LocalExceptionWrapper,
00854 cast.DoesNotExistOnWMException,
00855 cast.UnknownSubarchitectureException
00856 {
00857 final Ice.Current __current = new Ice.Current();
00858 __initCurrent(__current, "getVersionNumber", Ice.OperationMode.Idempotent, __ctx);
00859 final Ice.IntHolder __result = new Ice.IntHolder();
00860 IceInternal.Direct __direct = null;
00861 try
00862 {
00863 __direct = new IceInternal.Direct(__current)
00864 {
00865 public Ice.DispatchStatus run(Ice.Object __obj)
00866 {
00867 WorkingMemory __servant = null;
00868 try
00869 {
00870 __servant = (WorkingMemory)__obj;
00871 }
00872 catch(ClassCastException __ex)
00873 {
00874 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00875 }
00876 try
00877 {
00878 __result.value = __servant.getVersionNumber(id, subarch, __current);
00879 return Ice.DispatchStatus.DispatchOK;
00880 }
00881 catch(Ice.UserException __ex)
00882 {
00883 setUserException(__ex);
00884 return Ice.DispatchStatus.DispatchUserException;
00885 }
00886 }
00887 };
00888 try
00889 {
00890 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00891 if(__status == Ice.DispatchStatus.DispatchUserException)
00892 {
00893 __direct.throwUserException();
00894 }
00895 assert __status == Ice.DispatchStatus.DispatchOK;
00896 return __result.value;
00897 }
00898 finally
00899 {
00900 __direct.destroy();
00901 }
00902 }
00903 catch(cast.DoesNotExistOnWMException __ex)
00904 {
00905 throw __ex;
00906 }
00907 catch(cast.UnknownSubarchitectureException __ex)
00908 {
00909 throw __ex;
00910 }
00911 catch(Ice.SystemException __ex)
00912 {
00913 throw __ex;
00914 }
00915 catch(java.lang.Throwable __ex)
00916 {
00917 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00918 }
00919 return __result.value;
00920 }
00921
00922 public void
00923 getWorkingMemoryEntries(final String type, final String subarch, final int count, final String component, final cast.cdl.WorkingMemoryEntrySeqHolder entries, java.util.Map<String, String> __ctx)
00924 throws IceInternal.LocalExceptionWrapper,
00925 cast.UnknownSubarchitectureException
00926 {
00927 final Ice.Current __current = new Ice.Current();
00928 __initCurrent(__current, "getWorkingMemoryEntries", Ice.OperationMode.Normal, __ctx);
00929 IceInternal.Direct __direct = null;
00930 try
00931 {
00932 __direct = new IceInternal.Direct(__current)
00933 {
00934 public Ice.DispatchStatus run(Ice.Object __obj)
00935 {
00936 WorkingMemory __servant = null;
00937 try
00938 {
00939 __servant = (WorkingMemory)__obj;
00940 }
00941 catch(ClassCastException __ex)
00942 {
00943 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
00944 }
00945 try
00946 {
00947 __servant.getWorkingMemoryEntries(type, subarch, count, component, entries, __current);
00948 return Ice.DispatchStatus.DispatchOK;
00949 }
00950 catch(Ice.UserException __ex)
00951 {
00952 setUserException(__ex);
00953 return Ice.DispatchStatus.DispatchUserException;
00954 }
00955 }
00956 };
00957 try
00958 {
00959 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
00960 if(__status == Ice.DispatchStatus.DispatchUserException)
00961 {
00962 __direct.throwUserException();
00963 }
00964 assert __status == Ice.DispatchStatus.DispatchOK;
00965 }
00966 finally
00967 {
00968 __direct.destroy();
00969 }
00970 }
00971 catch(cast.UnknownSubarchitectureException __ex)
00972 {
00973 throw __ex;
00974 }
00975 catch(Ice.SystemException __ex)
00976 {
00977 throw __ex;
00978 }
00979 catch(java.lang.Throwable __ex)
00980 {
00981 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
00982 }
00983 }
00984
00985 public cast.cdl.WorkingMemoryEntry
00986 getWorkingMemoryEntry(final String id, final String subarch, final String component, java.util.Map<String, String> __ctx)
00987 throws IceInternal.LocalExceptionWrapper,
00988 cast.DoesNotExistOnWMException,
00989 cast.UnknownSubarchitectureException
00990 {
00991 final Ice.Current __current = new Ice.Current();
00992 __initCurrent(__current, "getWorkingMemoryEntry", Ice.OperationMode.Normal, __ctx);
00993 final cast.cdl.WorkingMemoryEntryHolder __result = new cast.cdl.WorkingMemoryEntryHolder();
00994 IceInternal.Direct __direct = null;
00995 try
00996 {
00997 __direct = new IceInternal.Direct(__current)
00998 {
00999 public Ice.DispatchStatus run(Ice.Object __obj)
01000 {
01001 WorkingMemory __servant = null;
01002 try
01003 {
01004 __servant = (WorkingMemory)__obj;
01005 }
01006 catch(ClassCastException __ex)
01007 {
01008 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01009 }
01010 try
01011 {
01012 __result.value = __servant.getWorkingMemoryEntry(id, subarch, component, __current);
01013 return Ice.DispatchStatus.DispatchOK;
01014 }
01015 catch(Ice.UserException __ex)
01016 {
01017 setUserException(__ex);
01018 return Ice.DispatchStatus.DispatchUserException;
01019 }
01020 }
01021 };
01022 try
01023 {
01024 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01025 if(__status == Ice.DispatchStatus.DispatchUserException)
01026 {
01027 __direct.throwUserException();
01028 }
01029 assert __status == Ice.DispatchStatus.DispatchOK;
01030 return __result.value;
01031 }
01032 finally
01033 {
01034 __direct.destroy();
01035 }
01036 }
01037 catch(cast.DoesNotExistOnWMException __ex)
01038 {
01039 throw __ex;
01040 }
01041 catch(cast.UnknownSubarchitectureException __ex)
01042 {
01043 throw __ex;
01044 }
01045 catch(Ice.SystemException __ex)
01046 {
01047 throw __ex;
01048 }
01049 catch(java.lang.Throwable __ex)
01050 {
01051 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01052 }
01053 return __result.value;
01054 }
01055
01056 public void
01057 lockEntry(final String id, final String subarch, final String component, final cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx)
01058 throws IceInternal.LocalExceptionWrapper,
01059 cast.DoesNotExistOnWMException,
01060 cast.UnknownSubarchitectureException
01061 {
01062 final Ice.Current __current = new Ice.Current();
01063 __initCurrent(__current, "lockEntry", Ice.OperationMode.Normal, __ctx);
01064 IceInternal.Direct __direct = null;
01065 try
01066 {
01067 __direct = new IceInternal.Direct(__current)
01068 {
01069 public Ice.DispatchStatus run(Ice.Object __obj)
01070 {
01071 WorkingMemory __servant = null;
01072 try
01073 {
01074 __servant = (WorkingMemory)__obj;
01075 }
01076 catch(ClassCastException __ex)
01077 {
01078 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01079 }
01080 try
01081 {
01082 __servant.lockEntry(id, subarch, component, permissions, __current);
01083 return Ice.DispatchStatus.DispatchOK;
01084 }
01085 catch(Ice.UserException __ex)
01086 {
01087 setUserException(__ex);
01088 return Ice.DispatchStatus.DispatchUserException;
01089 }
01090 }
01091 };
01092 try
01093 {
01094 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01095 if(__status == Ice.DispatchStatus.DispatchUserException)
01096 {
01097 __direct.throwUserException();
01098 }
01099 assert __status == Ice.DispatchStatus.DispatchOK;
01100 }
01101 finally
01102 {
01103 __direct.destroy();
01104 }
01105 }
01106 catch(cast.DoesNotExistOnWMException __ex)
01107 {
01108 throw __ex;
01109 }
01110 catch(cast.UnknownSubarchitectureException __ex)
01111 {
01112 throw __ex;
01113 }
01114 catch(Ice.SystemException __ex)
01115 {
01116 throw __ex;
01117 }
01118 catch(java.lang.Throwable __ex)
01119 {
01120 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01121 }
01122 }
01123
01124 public void
01125 overwriteWorkingMemory(final String id, final String subarch, final String type, final String component, final Ice.Object entry, java.util.Map<String, String> __ctx)
01126 throws IceInternal.LocalExceptionWrapper,
01127 cast.DoesNotExistOnWMException,
01128 cast.UnknownSubarchitectureException
01129 {
01130 final Ice.Current __current = new Ice.Current();
01131 __initCurrent(__current, "overwriteWorkingMemory", Ice.OperationMode.Normal, __ctx);
01132 IceInternal.Direct __direct = null;
01133 try
01134 {
01135 __direct = new IceInternal.Direct(__current)
01136 {
01137 public Ice.DispatchStatus run(Ice.Object __obj)
01138 {
01139 WorkingMemory __servant = null;
01140 try
01141 {
01142 __servant = (WorkingMemory)__obj;
01143 }
01144 catch(ClassCastException __ex)
01145 {
01146 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01147 }
01148 try
01149 {
01150 __servant.overwriteWorkingMemory(id, subarch, type, component, entry, __current);
01151 return Ice.DispatchStatus.DispatchOK;
01152 }
01153 catch(Ice.UserException __ex)
01154 {
01155 setUserException(__ex);
01156 return Ice.DispatchStatus.DispatchUserException;
01157 }
01158 }
01159 };
01160 try
01161 {
01162 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01163 if(__status == Ice.DispatchStatus.DispatchUserException)
01164 {
01165 __direct.throwUserException();
01166 }
01167 assert __status == Ice.DispatchStatus.DispatchOK;
01168 }
01169 finally
01170 {
01171 __direct.destroy();
01172 }
01173 }
01174 catch(cast.DoesNotExistOnWMException __ex)
01175 {
01176 throw __ex;
01177 }
01178 catch(cast.UnknownSubarchitectureException __ex)
01179 {
01180 throw __ex;
01181 }
01182 catch(Ice.SystemException __ex)
01183 {
01184 throw __ex;
01185 }
01186 catch(java.lang.Throwable __ex)
01187 {
01188 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01189 }
01190 }
01191
01192 public void
01193 receiveChangeEvent(final cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx)
01194 throws IceInternal.LocalExceptionWrapper
01195 {
01196 final Ice.Current __current = new Ice.Current();
01197 __initCurrent(__current, "receiveChangeEvent", Ice.OperationMode.Normal, __ctx);
01198 IceInternal.Direct __direct = null;
01199 try
01200 {
01201 __direct = new IceInternal.Direct(__current)
01202 {
01203 public Ice.DispatchStatus run(Ice.Object __obj)
01204 {
01205 WorkingMemory __servant = null;
01206 try
01207 {
01208 __servant = (WorkingMemory)__obj;
01209 }
01210 catch(ClassCastException __ex)
01211 {
01212 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01213 }
01214 __servant.receiveChangeEvent(wmc, __current);
01215 return Ice.DispatchStatus.DispatchOK;
01216 }
01217 };
01218 try
01219 {
01220 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01221 if(__status == Ice.DispatchStatus.DispatchUserException)
01222 {
01223 __direct.throwUserException();
01224 }
01225 assert __status == Ice.DispatchStatus.DispatchOK;
01226 }
01227 finally
01228 {
01229 __direct.destroy();
01230 }
01231 }
01232 catch(Ice.SystemException __ex)
01233 {
01234 throw __ex;
01235 }
01236 catch(java.lang.Throwable __ex)
01237 {
01238 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01239 }
01240 }
01241
01242 public void
01243 registerComponentFilter(final cast.cdl.WorkingMemoryChangeFilter filter, final int priority, java.util.Map<String, String> __ctx)
01244 throws IceInternal.LocalExceptionWrapper
01245 {
01246 final Ice.Current __current = new Ice.Current();
01247 __initCurrent(__current, "registerComponentFilter", Ice.OperationMode.Normal, __ctx);
01248 IceInternal.Direct __direct = null;
01249 try
01250 {
01251 __direct = new IceInternal.Direct(__current)
01252 {
01253 public Ice.DispatchStatus run(Ice.Object __obj)
01254 {
01255 WorkingMemory __servant = null;
01256 try
01257 {
01258 __servant = (WorkingMemory)__obj;
01259 }
01260 catch(ClassCastException __ex)
01261 {
01262 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01263 }
01264 __servant.registerComponentFilter(filter, priority, __current);
01265 return Ice.DispatchStatus.DispatchOK;
01266 }
01267 };
01268 try
01269 {
01270 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01271 if(__status == Ice.DispatchStatus.DispatchUserException)
01272 {
01273 __direct.throwUserException();
01274 }
01275 assert __status == Ice.DispatchStatus.DispatchOK;
01276 }
01277 finally
01278 {
01279 __direct.destroy();
01280 }
01281 }
01282 catch(Ice.SystemException __ex)
01283 {
01284 throw __ex;
01285 }
01286 catch(java.lang.Throwable __ex)
01287 {
01288 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01289 }
01290 }
01291
01292 public void
01293 registerWorkingMemoryFilter(final cast.cdl.WorkingMemoryChangeFilter filter, final String subarch, final int priority, java.util.Map<String, String> __ctx)
01294 throws IceInternal.LocalExceptionWrapper
01295 {
01296 final Ice.Current __current = new Ice.Current();
01297 __initCurrent(__current, "registerWorkingMemoryFilter", Ice.OperationMode.Normal, __ctx);
01298 IceInternal.Direct __direct = null;
01299 try
01300 {
01301 __direct = new IceInternal.Direct(__current)
01302 {
01303 public Ice.DispatchStatus run(Ice.Object __obj)
01304 {
01305 WorkingMemory __servant = null;
01306 try
01307 {
01308 __servant = (WorkingMemory)__obj;
01309 }
01310 catch(ClassCastException __ex)
01311 {
01312 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01313 }
01314 __servant.registerWorkingMemoryFilter(filter, subarch, priority, __current);
01315 return Ice.DispatchStatus.DispatchOK;
01316 }
01317 };
01318 try
01319 {
01320 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01321 if(__status == Ice.DispatchStatus.DispatchUserException)
01322 {
01323 __direct.throwUserException();
01324 }
01325 assert __status == Ice.DispatchStatus.DispatchOK;
01326 }
01327 finally
01328 {
01329 __direct.destroy();
01330 }
01331 }
01332 catch(Ice.SystemException __ex)
01333 {
01334 throw __ex;
01335 }
01336 catch(java.lang.Throwable __ex)
01337 {
01338 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01339 }
01340 }
01341
01342 public void
01343 removeComponentFilter(final cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx)
01344 throws IceInternal.LocalExceptionWrapper
01345 {
01346 final Ice.Current __current = new Ice.Current();
01347 __initCurrent(__current, "removeComponentFilter", Ice.OperationMode.Normal, __ctx);
01348 IceInternal.Direct __direct = null;
01349 try
01350 {
01351 __direct = new IceInternal.Direct(__current)
01352 {
01353 public Ice.DispatchStatus run(Ice.Object __obj)
01354 {
01355 WorkingMemory __servant = null;
01356 try
01357 {
01358 __servant = (WorkingMemory)__obj;
01359 }
01360 catch(ClassCastException __ex)
01361 {
01362 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01363 }
01364 __servant.removeComponentFilter(filter, __current);
01365 return Ice.DispatchStatus.DispatchOK;
01366 }
01367 };
01368 try
01369 {
01370 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01371 if(__status == Ice.DispatchStatus.DispatchUserException)
01372 {
01373 __direct.throwUserException();
01374 }
01375 assert __status == Ice.DispatchStatus.DispatchOK;
01376 }
01377 finally
01378 {
01379 __direct.destroy();
01380 }
01381 }
01382 catch(Ice.SystemException __ex)
01383 {
01384 throw __ex;
01385 }
01386 catch(java.lang.Throwable __ex)
01387 {
01388 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01389 }
01390 }
01391
01392 public void
01393 removeWorkingMemoryFilter(final cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx)
01394 throws IceInternal.LocalExceptionWrapper
01395 {
01396 final Ice.Current __current = new Ice.Current();
01397 __initCurrent(__current, "removeWorkingMemoryFilter", Ice.OperationMode.Normal, __ctx);
01398 IceInternal.Direct __direct = null;
01399 try
01400 {
01401 __direct = new IceInternal.Direct(__current)
01402 {
01403 public Ice.DispatchStatus run(Ice.Object __obj)
01404 {
01405 WorkingMemory __servant = null;
01406 try
01407 {
01408 __servant = (WorkingMemory)__obj;
01409 }
01410 catch(ClassCastException __ex)
01411 {
01412 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01413 }
01414 __servant.removeWorkingMemoryFilter(filter, __current);
01415 return Ice.DispatchStatus.DispatchOK;
01416 }
01417 };
01418 try
01419 {
01420 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01421 if(__status == Ice.DispatchStatus.DispatchUserException)
01422 {
01423 __direct.throwUserException();
01424 }
01425 assert __status == Ice.DispatchStatus.DispatchOK;
01426 }
01427 finally
01428 {
01429 __direct.destroy();
01430 }
01431 }
01432 catch(Ice.SystemException __ex)
01433 {
01434 throw __ex;
01435 }
01436 catch(java.lang.Throwable __ex)
01437 {
01438 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01439 }
01440 }
01441
01442 public void
01443 setWorkingMemory(final WorkingMemoryPrx wm, final String subarch, java.util.Map<String, String> __ctx)
01444 throws IceInternal.LocalExceptionWrapper
01445 {
01446 final Ice.Current __current = new Ice.Current();
01447 __initCurrent(__current, "setWorkingMemory", Ice.OperationMode.Normal, __ctx);
01448 IceInternal.Direct __direct = null;
01449 try
01450 {
01451 __direct = new IceInternal.Direct(__current)
01452 {
01453 public Ice.DispatchStatus run(Ice.Object __obj)
01454 {
01455 WorkingMemory __servant = null;
01456 try
01457 {
01458 __servant = (WorkingMemory)__obj;
01459 }
01460 catch(ClassCastException __ex)
01461 {
01462 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01463 }
01464 __servant.setWorkingMemory(wm, subarch, __current);
01465 return Ice.DispatchStatus.DispatchOK;
01466 }
01467 };
01468 try
01469 {
01470 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01471 if(__status == Ice.DispatchStatus.DispatchUserException)
01472 {
01473 __direct.throwUserException();
01474 }
01475 assert __status == Ice.DispatchStatus.DispatchOK;
01476 }
01477 finally
01478 {
01479 __direct.destroy();
01480 }
01481 }
01482 catch(Ice.SystemException __ex)
01483 {
01484 throw __ex;
01485 }
01486 catch(java.lang.Throwable __ex)
01487 {
01488 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01489 }
01490 }
01491
01492 public boolean
01493 tryLockEntry(final String id, final String subarch, final String component, final cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx)
01494 throws IceInternal.LocalExceptionWrapper,
01495 cast.DoesNotExistOnWMException,
01496 cast.UnknownSubarchitectureException
01497 {
01498 final Ice.Current __current = new Ice.Current();
01499 __initCurrent(__current, "tryLockEntry", Ice.OperationMode.Normal, __ctx);
01500 final Ice.BooleanHolder __result = new Ice.BooleanHolder();
01501 IceInternal.Direct __direct = null;
01502 try
01503 {
01504 __direct = new IceInternal.Direct(__current)
01505 {
01506 public Ice.DispatchStatus run(Ice.Object __obj)
01507 {
01508 WorkingMemory __servant = null;
01509 try
01510 {
01511 __servant = (WorkingMemory)__obj;
01512 }
01513 catch(ClassCastException __ex)
01514 {
01515 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01516 }
01517 try
01518 {
01519 __result.value = __servant.tryLockEntry(id, subarch, component, permissions, __current);
01520 return Ice.DispatchStatus.DispatchOK;
01521 }
01522 catch(Ice.UserException __ex)
01523 {
01524 setUserException(__ex);
01525 return Ice.DispatchStatus.DispatchUserException;
01526 }
01527 }
01528 };
01529 try
01530 {
01531 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01532 if(__status == Ice.DispatchStatus.DispatchUserException)
01533 {
01534 __direct.throwUserException();
01535 }
01536 assert __status == Ice.DispatchStatus.DispatchOK;
01537 return __result.value;
01538 }
01539 finally
01540 {
01541 __direct.destroy();
01542 }
01543 }
01544 catch(cast.DoesNotExistOnWMException __ex)
01545 {
01546 throw __ex;
01547 }
01548 catch(cast.UnknownSubarchitectureException __ex)
01549 {
01550 throw __ex;
01551 }
01552 catch(Ice.SystemException __ex)
01553 {
01554 throw __ex;
01555 }
01556 catch(java.lang.Throwable __ex)
01557 {
01558 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01559 }
01560 return __result.value;
01561 }
01562
01563 public void
01564 unlockEntry(final String id, final String subarch, final String component, java.util.Map<String, String> __ctx)
01565 throws IceInternal.LocalExceptionWrapper,
01566 cast.ConsistencyException,
01567 cast.DoesNotExistOnWMException,
01568 cast.UnknownSubarchitectureException
01569 {
01570 final Ice.Current __current = new Ice.Current();
01571 __initCurrent(__current, "unlockEntry", Ice.OperationMode.Normal, __ctx);
01572 IceInternal.Direct __direct = null;
01573 try
01574 {
01575 __direct = new IceInternal.Direct(__current)
01576 {
01577 public Ice.DispatchStatus run(Ice.Object __obj)
01578 {
01579 WorkingMemory __servant = null;
01580 try
01581 {
01582 __servant = (WorkingMemory)__obj;
01583 }
01584 catch(ClassCastException __ex)
01585 {
01586 throw new Ice.OperationNotExistException(__current.id, __current.facet, __current.operation);
01587 }
01588 try
01589 {
01590 __servant.unlockEntry(id, subarch, component, __current);
01591 return Ice.DispatchStatus.DispatchOK;
01592 }
01593 catch(Ice.UserException __ex)
01594 {
01595 setUserException(__ex);
01596 return Ice.DispatchStatus.DispatchUserException;
01597 }
01598 }
01599 };
01600 try
01601 {
01602 Ice.DispatchStatus __status = __direct.servant().__collocDispatch(__direct);
01603 if(__status == Ice.DispatchStatus.DispatchUserException)
01604 {
01605 __direct.throwUserException();
01606 }
01607 assert __status == Ice.DispatchStatus.DispatchOK;
01608 }
01609 finally
01610 {
01611 __direct.destroy();
01612 }
01613 }
01614 catch(cast.ConsistencyException __ex)
01615 {
01616 throw __ex;
01617 }
01618 catch(cast.DoesNotExistOnWMException __ex)
01619 {
01620 throw __ex;
01621 }
01622 catch(cast.UnknownSubarchitectureException __ex)
01623 {
01624 throw __ex;
01625 }
01626 catch(Ice.SystemException __ex)
01627 {
01628 throw __ex;
01629 }
01630 catch(java.lang.Throwable __ex)
01631 {
01632 IceInternal.LocalExceptionWrapper.throwWrapper(__ex);
01633 }
01634 }
01635 }