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 WorkingMemoryPrxHelper extends Ice.ObjectPrxHelperBase implements WorkingMemoryPrx
00024 {
00025 public void
00026 beat()
00027 {
00028 beat(null, false);
00029 }
00030
00031 public void
00032 beat(java.util.Map<String, String> __ctx)
00033 {
00034 beat(__ctx, true);
00035 }
00036
00037 private void
00038 beat(java.util.Map<String, String> __ctx, boolean __explicitCtx)
00039 {
00040 if(__explicitCtx && __ctx == null)
00041 {
00042 __ctx = _emptyContext;
00043 }
00044 int __cnt = 0;
00045 while(true)
00046 {
00047 Ice._ObjectDel __delBase = null;
00048 try
00049 {
00050 __delBase = __getDelegate(false);
00051 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00052 __del.beat(__ctx);
00053 return;
00054 }
00055 catch(IceInternal.LocalExceptionWrapper __ex)
00056 {
00057 __cnt = __handleExceptionWrapperRelaxed(__delBase, __ex, null, __cnt);
00058 }
00059 catch(Ice.LocalException __ex)
00060 {
00061 __cnt = __handleException(__delBase, __ex, null, __cnt);
00062 }
00063 }
00064 }
00065
00066 private static final String __beat_name = "beat";
00067
00068 public Ice.AsyncResult begin_beat()
00069 {
00070 return begin_beat(null, false, null);
00071 }
00072
00073 public Ice.AsyncResult begin_beat(java.util.Map<String, String> __ctx)
00074 {
00075 return begin_beat(__ctx, true, null);
00076 }
00077
00078 public Ice.AsyncResult begin_beat(Ice.Callback __cb)
00079 {
00080 return begin_beat(null, false, __cb);
00081 }
00082
00083 public Ice.AsyncResult begin_beat(java.util.Map<String, String> __ctx, Ice.Callback __cb)
00084 {
00085 return begin_beat(__ctx, true, __cb);
00086 }
00087
00088 public Ice.AsyncResult begin_beat(Callback_CASTComponent_beat __cb)
00089 {
00090 return begin_beat(null, false, __cb);
00091 }
00092
00093 public Ice.AsyncResult begin_beat(java.util.Map<String, String> __ctx, Callback_CASTComponent_beat __cb)
00094 {
00095 return begin_beat(__ctx, true, __cb);
00096 }
00097
00098 private Ice.AsyncResult begin_beat(java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00099 {
00100 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __beat_name, __cb);
00101 try
00102 {
00103 __result.__prepare(__beat_name, Ice.OperationMode.Idempotent, __ctx, __explicitCtx);
00104 IceInternal.BasicStream __os = __result.__os();
00105 __os.endWriteEncaps();
00106 __result.__send(true);
00107 }
00108 catch(Ice.LocalException __ex)
00109 {
00110 __result.__exceptionAsync(__ex);
00111 }
00112 return __result;
00113 }
00114
00115 public void end_beat(Ice.AsyncResult __result)
00116 {
00117 __end(__result, __beat_name);
00118 }
00119
00120 public void
00121 configure(java.util.Map<java.lang.String, java.lang.String> config)
00122 {
00123 configure(config, null, false);
00124 }
00125
00126 public void
00127 configure(java.util.Map<java.lang.String, java.lang.String> config, java.util.Map<String, String> __ctx)
00128 {
00129 configure(config, __ctx, true);
00130 }
00131
00132 private void
00133 configure(java.util.Map<java.lang.String, java.lang.String> config, java.util.Map<String, String> __ctx, boolean __explicitCtx)
00134 {
00135 if(__explicitCtx && __ctx == null)
00136 {
00137 __ctx = _emptyContext;
00138 }
00139 int __cnt = 0;
00140 while(true)
00141 {
00142 Ice._ObjectDel __delBase = null;
00143 try
00144 {
00145 __delBase = __getDelegate(false);
00146 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00147 __del.configure(config, __ctx);
00148 return;
00149 }
00150 catch(IceInternal.LocalExceptionWrapper __ex)
00151 {
00152 __handleExceptionWrapper(__delBase, __ex);
00153 }
00154 catch(Ice.LocalException __ex)
00155 {
00156 __cnt = __handleException(__delBase, __ex, null, __cnt);
00157 }
00158 }
00159 }
00160
00161 private static final String __configure_name = "configure";
00162
00163 public Ice.AsyncResult begin_configure(java.util.Map<java.lang.String, java.lang.String> config)
00164 {
00165 return begin_configure(config, null, false, null);
00166 }
00167
00168 public Ice.AsyncResult begin_configure(java.util.Map<java.lang.String, java.lang.String> config, java.util.Map<String, String> __ctx)
00169 {
00170 return begin_configure(config, __ctx, true, null);
00171 }
00172
00173 public Ice.AsyncResult begin_configure(java.util.Map<java.lang.String, java.lang.String> config, Ice.Callback __cb)
00174 {
00175 return begin_configure(config, null, false, __cb);
00176 }
00177
00178 public Ice.AsyncResult begin_configure(java.util.Map<java.lang.String, java.lang.String> config, java.util.Map<String, String> __ctx, Ice.Callback __cb)
00179 {
00180 return begin_configure(config, __ctx, true, __cb);
00181 }
00182
00183 public Ice.AsyncResult begin_configure(java.util.Map<java.lang.String, java.lang.String> config, Callback_CASTComponent_configure __cb)
00184 {
00185 return begin_configure(config, null, false, __cb);
00186 }
00187
00188 public Ice.AsyncResult begin_configure(java.util.Map<java.lang.String, java.lang.String> config, java.util.Map<String, String> __ctx, Callback_CASTComponent_configure __cb)
00189 {
00190 return begin_configure(config, __ctx, true, __cb);
00191 }
00192
00193 private Ice.AsyncResult begin_configure(java.util.Map<java.lang.String, java.lang.String> config, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00194 {
00195 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __configure_name, __cb);
00196 try
00197 {
00198 __result.__prepare(__configure_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
00199 IceInternal.BasicStream __os = __result.__os();
00200 cast.cdl.StringMapHelper.write(__os, config);
00201 __os.endWriteEncaps();
00202 __result.__send(true);
00203 }
00204 catch(Ice.LocalException __ex)
00205 {
00206 __result.__exceptionAsync(__ex);
00207 }
00208 return __result;
00209 }
00210
00211 public void end_configure(Ice.AsyncResult __result)
00212 {
00213 __end(__result, __configure_name);
00214 }
00215
00219 public void
00220 destroy()
00221 {
00222 destroy(null, false);
00223 }
00224
00229 public void
00230 destroy(java.util.Map<String, String> __ctx)
00231 {
00232 destroy(__ctx, true);
00233 }
00234
00235 private void
00236 destroy(java.util.Map<String, String> __ctx, boolean __explicitCtx)
00237 {
00238 if(__explicitCtx && __ctx == null)
00239 {
00240 __ctx = _emptyContext;
00241 }
00242 int __cnt = 0;
00243 while(true)
00244 {
00245 Ice._ObjectDel __delBase = null;
00246 try
00247 {
00248 __delBase = __getDelegate(false);
00249 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00250 __del.destroy(__ctx);
00251 return;
00252 }
00253 catch(IceInternal.LocalExceptionWrapper __ex)
00254 {
00255 __handleExceptionWrapper(__delBase, __ex);
00256 }
00257 catch(Ice.LocalException __ex)
00258 {
00259 __cnt = __handleException(__delBase, __ex, null, __cnt);
00260 }
00261 }
00262 }
00263
00264 private static final String __destroy_name = "destroy";
00265
00270 public Ice.AsyncResult begin_destroy()
00271 {
00272 return begin_destroy(null, false, null);
00273 }
00274
00280 public Ice.AsyncResult begin_destroy(java.util.Map<String, String> __ctx)
00281 {
00282 return begin_destroy(__ctx, true, null);
00283 }
00284
00289 public Ice.AsyncResult begin_destroy(Ice.Callback __cb)
00290 {
00291 return begin_destroy(null, false, __cb);
00292 }
00293
00299 public Ice.AsyncResult begin_destroy(java.util.Map<String, String> __ctx, Ice.Callback __cb)
00300 {
00301 return begin_destroy(__ctx, true, __cb);
00302 }
00303
00308 public Ice.AsyncResult begin_destroy(Callback_CASTComponent_destroy __cb)
00309 {
00310 return begin_destroy(null, false, __cb);
00311 }
00312
00318 public Ice.AsyncResult begin_destroy(java.util.Map<String, String> __ctx, Callback_CASTComponent_destroy __cb)
00319 {
00320 return begin_destroy(__ctx, true, __cb);
00321 }
00322
00323 private Ice.AsyncResult begin_destroy(java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00324 {
00325 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __destroy_name, __cb);
00326 try
00327 {
00328 __result.__prepare(__destroy_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
00329 IceInternal.BasicStream __os = __result.__os();
00330 __os.endWriteEncaps();
00331 __result.__send(true);
00332 }
00333 catch(Ice.LocalException __ex)
00334 {
00335 __result.__exceptionAsync(__ex);
00336 }
00337 return __result;
00338 }
00339
00344 public void end_destroy(Ice.AsyncResult __result)
00345 {
00346 __end(__result, __destroy_name);
00347 }
00348
00352 public String
00353 getID()
00354 {
00355 return getID(null, false);
00356 }
00357
00362 public String
00363 getID(java.util.Map<String, String> __ctx)
00364 {
00365 return getID(__ctx, true);
00366 }
00367
00368 private String
00369 getID(java.util.Map<String, String> __ctx, boolean __explicitCtx)
00370 {
00371 if(__explicitCtx && __ctx == null)
00372 {
00373 __ctx = _emptyContext;
00374 }
00375 int __cnt = 0;
00376 while(true)
00377 {
00378 Ice._ObjectDel __delBase = null;
00379 try
00380 {
00381 __checkTwowayOnly("getID");
00382 __delBase = __getDelegate(false);
00383 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00384 return __del.getID(__ctx);
00385 }
00386 catch(IceInternal.LocalExceptionWrapper __ex)
00387 {
00388 __cnt = __handleExceptionWrapperRelaxed(__delBase, __ex, null, __cnt);
00389 }
00390 catch(Ice.LocalException __ex)
00391 {
00392 __cnt = __handleException(__delBase, __ex, null, __cnt);
00393 }
00394 }
00395 }
00396
00397 private static final String __getID_name = "getID";
00398
00403 public Ice.AsyncResult begin_getID()
00404 {
00405 return begin_getID(null, false, null);
00406 }
00407
00413 public Ice.AsyncResult begin_getID(java.util.Map<String, String> __ctx)
00414 {
00415 return begin_getID(__ctx, true, null);
00416 }
00417
00422 public Ice.AsyncResult begin_getID(Ice.Callback __cb)
00423 {
00424 return begin_getID(null, false, __cb);
00425 }
00426
00432 public Ice.AsyncResult begin_getID(java.util.Map<String, String> __ctx, Ice.Callback __cb)
00433 {
00434 return begin_getID(__ctx, true, __cb);
00435 }
00436
00441 public Ice.AsyncResult begin_getID(Callback_CASTComponent_getID __cb)
00442 {
00443 return begin_getID(null, false, __cb);
00444 }
00445
00451 public Ice.AsyncResult begin_getID(java.util.Map<String, String> __ctx, Callback_CASTComponent_getID __cb)
00452 {
00453 return begin_getID(__ctx, true, __cb);
00454 }
00455
00456 private Ice.AsyncResult begin_getID(java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00457 {
00458 __checkAsyncTwowayOnly(__getID_name);
00459 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getID_name, __cb);
00460 try
00461 {
00462 __result.__prepare(__getID_name, Ice.OperationMode.Idempotent, __ctx, __explicitCtx);
00463 IceInternal.BasicStream __os = __result.__os();
00464 __os.endWriteEncaps();
00465 __result.__send(true);
00466 }
00467 catch(Ice.LocalException __ex)
00468 {
00469 __result.__exceptionAsync(__ex);
00470 }
00471 return __result;
00472 }
00473
00478 public String end_getID(Ice.AsyncResult __result)
00479 {
00480 Ice.AsyncResult.__check(__result, this, __getID_name);
00481 if(!__result.__wait())
00482 {
00483 try
00484 {
00485 __result.__throwUserException();
00486 }
00487 catch(Ice.UserException __ex)
00488 {
00489 throw new Ice.UnknownUserException(__ex.ice_name());
00490 }
00491 }
00492 String __ret;
00493 IceInternal.BasicStream __is = __result.__is();
00494 __is.startReadEncaps();
00495 __ret = __is.readString();
00496 __is.endReadEncaps();
00497 return __ret;
00498 }
00499
00500 public void
00501 run()
00502 {
00503 run(null, false);
00504 }
00505
00506 public void
00507 run(java.util.Map<String, String> __ctx)
00508 {
00509 run(__ctx, true);
00510 }
00511
00512 private void
00513 run(java.util.Map<String, String> __ctx, boolean __explicitCtx)
00514 {
00515 if(__explicitCtx && __ctx == null)
00516 {
00517 __ctx = _emptyContext;
00518 }
00519 int __cnt = 0;
00520 while(true)
00521 {
00522 Ice._ObjectDel __delBase = null;
00523 try
00524 {
00525 __delBase = __getDelegate(false);
00526 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00527 __del.run(__ctx);
00528 return;
00529 }
00530 catch(IceInternal.LocalExceptionWrapper __ex)
00531 {
00532 __handleExceptionWrapper(__delBase, __ex);
00533 }
00534 catch(Ice.LocalException __ex)
00535 {
00536 __cnt = __handleException(__delBase, __ex, null, __cnt);
00537 }
00538 }
00539 }
00540
00541 private static final String __run_name = "run";
00542
00543 public Ice.AsyncResult begin_run()
00544 {
00545 return begin_run(null, false, null);
00546 }
00547
00548 public Ice.AsyncResult begin_run(java.util.Map<String, String> __ctx)
00549 {
00550 return begin_run(__ctx, true, null);
00551 }
00552
00553 public Ice.AsyncResult begin_run(Ice.Callback __cb)
00554 {
00555 return begin_run(null, false, __cb);
00556 }
00557
00558 public Ice.AsyncResult begin_run(java.util.Map<String, String> __ctx, Ice.Callback __cb)
00559 {
00560 return begin_run(__ctx, true, __cb);
00561 }
00562
00563 public Ice.AsyncResult begin_run(Callback_CASTComponent_run __cb)
00564 {
00565 return begin_run(null, false, __cb);
00566 }
00567
00568 public Ice.AsyncResult begin_run(java.util.Map<String, String> __ctx, Callback_CASTComponent_run __cb)
00569 {
00570 return begin_run(__ctx, true, __cb);
00571 }
00572
00573 private Ice.AsyncResult begin_run(java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00574 {
00575 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __run_name, __cb);
00576 try
00577 {
00578 __result.__prepare(__run_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
00579 IceInternal.BasicStream __os = __result.__os();
00580 __os.endWriteEncaps();
00581 __result.__send(true);
00582 }
00583 catch(Ice.LocalException __ex)
00584 {
00585 __result.__exceptionAsync(__ex);
00586 }
00587 return __result;
00588 }
00589
00590 public void end_run(Ice.AsyncResult __result)
00591 {
00592 __end(__result, __run_name);
00593 }
00594
00595 public void
00596 setComponentManager(ComponentManagerPrx man)
00597 {
00598 setComponentManager(man, null, false);
00599 }
00600
00601 public void
00602 setComponentManager(ComponentManagerPrx man, java.util.Map<String, String> __ctx)
00603 {
00604 setComponentManager(man, __ctx, true);
00605 }
00606
00607 private void
00608 setComponentManager(ComponentManagerPrx man, java.util.Map<String, String> __ctx, boolean __explicitCtx)
00609 {
00610 if(__explicitCtx && __ctx == null)
00611 {
00612 __ctx = _emptyContext;
00613 }
00614 int __cnt = 0;
00615 while(true)
00616 {
00617 Ice._ObjectDel __delBase = null;
00618 try
00619 {
00620 __delBase = __getDelegate(false);
00621 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00622 __del.setComponentManager(man, __ctx);
00623 return;
00624 }
00625 catch(IceInternal.LocalExceptionWrapper __ex)
00626 {
00627 __handleExceptionWrapper(__delBase, __ex);
00628 }
00629 catch(Ice.LocalException __ex)
00630 {
00631 __cnt = __handleException(__delBase, __ex, null, __cnt);
00632 }
00633 }
00634 }
00635
00636 private static final String __setComponentManager_name = "setComponentManager";
00637
00638 public Ice.AsyncResult begin_setComponentManager(ComponentManagerPrx man)
00639 {
00640 return begin_setComponentManager(man, null, false, null);
00641 }
00642
00643 public Ice.AsyncResult begin_setComponentManager(ComponentManagerPrx man, java.util.Map<String, String> __ctx)
00644 {
00645 return begin_setComponentManager(man, __ctx, true, null);
00646 }
00647
00648 public Ice.AsyncResult begin_setComponentManager(ComponentManagerPrx man, Ice.Callback __cb)
00649 {
00650 return begin_setComponentManager(man, null, false, __cb);
00651 }
00652
00653 public Ice.AsyncResult begin_setComponentManager(ComponentManagerPrx man, java.util.Map<String, String> __ctx, Ice.Callback __cb)
00654 {
00655 return begin_setComponentManager(man, __ctx, true, __cb);
00656 }
00657
00658 public Ice.AsyncResult begin_setComponentManager(ComponentManagerPrx man, Callback_CASTComponent_setComponentManager __cb)
00659 {
00660 return begin_setComponentManager(man, null, false, __cb);
00661 }
00662
00663 public Ice.AsyncResult begin_setComponentManager(ComponentManagerPrx man, java.util.Map<String, String> __ctx, Callback_CASTComponent_setComponentManager __cb)
00664 {
00665 return begin_setComponentManager(man, __ctx, true, __cb);
00666 }
00667
00668 private Ice.AsyncResult begin_setComponentManager(ComponentManagerPrx man, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00669 {
00670 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __setComponentManager_name, __cb);
00671 try
00672 {
00673 __result.__prepare(__setComponentManager_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
00674 IceInternal.BasicStream __os = __result.__os();
00675 ComponentManagerPrxHelper.__write(__os, man);
00676 __os.endWriteEncaps();
00677 __result.__send(true);
00678 }
00679 catch(Ice.LocalException __ex)
00680 {
00681 __result.__exceptionAsync(__ex);
00682 }
00683 return __result;
00684 }
00685
00686 public void end_setComponentManager(Ice.AsyncResult __result)
00687 {
00688 __end(__result, __setComponentManager_name);
00689 }
00690
00691 public void
00692 setID(String id)
00693 {
00694 setID(id, null, false);
00695 }
00696
00697 public void
00698 setID(String id, java.util.Map<String, String> __ctx)
00699 {
00700 setID(id, __ctx, true);
00701 }
00702
00703 private void
00704 setID(String id, java.util.Map<String, String> __ctx, boolean __explicitCtx)
00705 {
00706 if(__explicitCtx && __ctx == null)
00707 {
00708 __ctx = _emptyContext;
00709 }
00710 int __cnt = 0;
00711 while(true)
00712 {
00713 Ice._ObjectDel __delBase = null;
00714 try
00715 {
00716 __delBase = __getDelegate(false);
00717 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00718 __del.setID(id, __ctx);
00719 return;
00720 }
00721 catch(IceInternal.LocalExceptionWrapper __ex)
00722 {
00723 __handleExceptionWrapper(__delBase, __ex);
00724 }
00725 catch(Ice.LocalException __ex)
00726 {
00727 __cnt = __handleException(__delBase, __ex, null, __cnt);
00728 }
00729 }
00730 }
00731
00732 private static final String __setID_name = "setID";
00733
00734 public Ice.AsyncResult begin_setID(String id)
00735 {
00736 return begin_setID(id, null, false, null);
00737 }
00738
00739 public Ice.AsyncResult begin_setID(String id, java.util.Map<String, String> __ctx)
00740 {
00741 return begin_setID(id, __ctx, true, null);
00742 }
00743
00744 public Ice.AsyncResult begin_setID(String id, Ice.Callback __cb)
00745 {
00746 return begin_setID(id, null, false, __cb);
00747 }
00748
00749 public Ice.AsyncResult begin_setID(String id, java.util.Map<String, String> __ctx, Ice.Callback __cb)
00750 {
00751 return begin_setID(id, __ctx, true, __cb);
00752 }
00753
00754 public Ice.AsyncResult begin_setID(String id, Callback_CASTComponent_setID __cb)
00755 {
00756 return begin_setID(id, null, false, __cb);
00757 }
00758
00759 public Ice.AsyncResult begin_setID(String id, java.util.Map<String, String> __ctx, Callback_CASTComponent_setID __cb)
00760 {
00761 return begin_setID(id, __ctx, true, __cb);
00762 }
00763
00764 private Ice.AsyncResult begin_setID(String id, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00765 {
00766 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __setID_name, __cb);
00767 try
00768 {
00769 __result.__prepare(__setID_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
00770 IceInternal.BasicStream __os = __result.__os();
00771 __os.writeString(id);
00772 __os.endWriteEncaps();
00773 __result.__send(true);
00774 }
00775 catch(Ice.LocalException __ex)
00776 {
00777 __result.__exceptionAsync(__ex);
00778 }
00779 return __result;
00780 }
00781
00782 public void end_setID(Ice.AsyncResult __result)
00783 {
00784 __end(__result, __setID_name);
00785 }
00786
00787 public void
00788 setTimeServer(TimeServerPrx ts)
00789 {
00790 setTimeServer(ts, null, false);
00791 }
00792
00793 public void
00794 setTimeServer(TimeServerPrx ts, java.util.Map<String, String> __ctx)
00795 {
00796 setTimeServer(ts, __ctx, true);
00797 }
00798
00799 private void
00800 setTimeServer(TimeServerPrx ts, java.util.Map<String, String> __ctx, boolean __explicitCtx)
00801 {
00802 if(__explicitCtx && __ctx == null)
00803 {
00804 __ctx = _emptyContext;
00805 }
00806 int __cnt = 0;
00807 while(true)
00808 {
00809 Ice._ObjectDel __delBase = null;
00810 try
00811 {
00812 __delBase = __getDelegate(false);
00813 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00814 __del.setTimeServer(ts, __ctx);
00815 return;
00816 }
00817 catch(IceInternal.LocalExceptionWrapper __ex)
00818 {
00819 __handleExceptionWrapper(__delBase, __ex);
00820 }
00821 catch(Ice.LocalException __ex)
00822 {
00823 __cnt = __handleException(__delBase, __ex, null, __cnt);
00824 }
00825 }
00826 }
00827
00828 private static final String __setTimeServer_name = "setTimeServer";
00829
00830 public Ice.AsyncResult begin_setTimeServer(TimeServerPrx ts)
00831 {
00832 return begin_setTimeServer(ts, null, false, null);
00833 }
00834
00835 public Ice.AsyncResult begin_setTimeServer(TimeServerPrx ts, java.util.Map<String, String> __ctx)
00836 {
00837 return begin_setTimeServer(ts, __ctx, true, null);
00838 }
00839
00840 public Ice.AsyncResult begin_setTimeServer(TimeServerPrx ts, Ice.Callback __cb)
00841 {
00842 return begin_setTimeServer(ts, null, false, __cb);
00843 }
00844
00845 public Ice.AsyncResult begin_setTimeServer(TimeServerPrx ts, java.util.Map<String, String> __ctx, Ice.Callback __cb)
00846 {
00847 return begin_setTimeServer(ts, __ctx, true, __cb);
00848 }
00849
00850 public Ice.AsyncResult begin_setTimeServer(TimeServerPrx ts, Callback_CASTComponent_setTimeServer __cb)
00851 {
00852 return begin_setTimeServer(ts, null, false, __cb);
00853 }
00854
00855 public Ice.AsyncResult begin_setTimeServer(TimeServerPrx ts, java.util.Map<String, String> __ctx, Callback_CASTComponent_setTimeServer __cb)
00856 {
00857 return begin_setTimeServer(ts, __ctx, true, __cb);
00858 }
00859
00860 private Ice.AsyncResult begin_setTimeServer(TimeServerPrx ts, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00861 {
00862 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __setTimeServer_name, __cb);
00863 try
00864 {
00865 __result.__prepare(__setTimeServer_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
00866 IceInternal.BasicStream __os = __result.__os();
00867 TimeServerPrxHelper.__write(__os, ts);
00868 __os.endWriteEncaps();
00869 __result.__send(true);
00870 }
00871 catch(Ice.LocalException __ex)
00872 {
00873 __result.__exceptionAsync(__ex);
00874 }
00875 return __result;
00876 }
00877
00878 public void end_setTimeServer(Ice.AsyncResult __result)
00879 {
00880 __end(__result, __setTimeServer_name);
00881 }
00882
00883 public void
00884 start()
00885 {
00886 start(null, false);
00887 }
00888
00889 public void
00890 start(java.util.Map<String, String> __ctx)
00891 {
00892 start(__ctx, true);
00893 }
00894
00895 private void
00896 start(java.util.Map<String, String> __ctx, boolean __explicitCtx)
00897 {
00898 if(__explicitCtx && __ctx == null)
00899 {
00900 __ctx = _emptyContext;
00901 }
00902 int __cnt = 0;
00903 while(true)
00904 {
00905 Ice._ObjectDel __delBase = null;
00906 try
00907 {
00908 __delBase = __getDelegate(false);
00909 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
00910 __del.start(__ctx);
00911 return;
00912 }
00913 catch(IceInternal.LocalExceptionWrapper __ex)
00914 {
00915 __handleExceptionWrapper(__delBase, __ex);
00916 }
00917 catch(Ice.LocalException __ex)
00918 {
00919 __cnt = __handleException(__delBase, __ex, null, __cnt);
00920 }
00921 }
00922 }
00923
00924 private static final String __start_name = "start";
00925
00926 public Ice.AsyncResult begin_start()
00927 {
00928 return begin_start(null, false, null);
00929 }
00930
00931 public Ice.AsyncResult begin_start(java.util.Map<String, String> __ctx)
00932 {
00933 return begin_start(__ctx, true, null);
00934 }
00935
00936 public Ice.AsyncResult begin_start(Ice.Callback __cb)
00937 {
00938 return begin_start(null, false, __cb);
00939 }
00940
00941 public Ice.AsyncResult begin_start(java.util.Map<String, String> __ctx, Ice.Callback __cb)
00942 {
00943 return begin_start(__ctx, true, __cb);
00944 }
00945
00946 public Ice.AsyncResult begin_start(Callback_CASTComponent_start __cb)
00947 {
00948 return begin_start(null, false, __cb);
00949 }
00950
00951 public Ice.AsyncResult begin_start(java.util.Map<String, String> __ctx, Callback_CASTComponent_start __cb)
00952 {
00953 return begin_start(__ctx, true, __cb);
00954 }
00955
00956 private Ice.AsyncResult begin_start(java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
00957 {
00958 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __start_name, __cb);
00959 try
00960 {
00961 __result.__prepare(__start_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
00962 IceInternal.BasicStream __os = __result.__os();
00963 __os.endWriteEncaps();
00964 __result.__send(true);
00965 }
00966 catch(Ice.LocalException __ex)
00967 {
00968 __result.__exceptionAsync(__ex);
00969 }
00970 return __result;
00971 }
00972
00973 public void end_start(Ice.AsyncResult __result)
00974 {
00975 __end(__result, __start_name);
00976 }
00977
00978 public void
00979 stop()
00980 {
00981 stop(null, false);
00982 }
00983
00984 public void
00985 stop(java.util.Map<String, String> __ctx)
00986 {
00987 stop(__ctx, true);
00988 }
00989
00990 private void
00991 stop(java.util.Map<String, String> __ctx, boolean __explicitCtx)
00992 {
00993 if(__explicitCtx && __ctx == null)
00994 {
00995 __ctx = _emptyContext;
00996 }
00997 int __cnt = 0;
00998 while(true)
00999 {
01000 Ice._ObjectDel __delBase = null;
01001 try
01002 {
01003 __delBase = __getDelegate(false);
01004 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01005 __del.stop(__ctx);
01006 return;
01007 }
01008 catch(IceInternal.LocalExceptionWrapper __ex)
01009 {
01010 __handleExceptionWrapper(__delBase, __ex);
01011 }
01012 catch(Ice.LocalException __ex)
01013 {
01014 __cnt = __handleException(__delBase, __ex, null, __cnt);
01015 }
01016 }
01017 }
01018
01019 private static final String __stop_name = "stop";
01020
01021 public Ice.AsyncResult begin_stop()
01022 {
01023 return begin_stop(null, false, null);
01024 }
01025
01026 public Ice.AsyncResult begin_stop(java.util.Map<String, String> __ctx)
01027 {
01028 return begin_stop(__ctx, true, null);
01029 }
01030
01031 public Ice.AsyncResult begin_stop(Ice.Callback __cb)
01032 {
01033 return begin_stop(null, false, __cb);
01034 }
01035
01036 public Ice.AsyncResult begin_stop(java.util.Map<String, String> __ctx, Ice.Callback __cb)
01037 {
01038 return begin_stop(__ctx, true, __cb);
01039 }
01040
01041 public Ice.AsyncResult begin_stop(Callback_CASTComponent_stop __cb)
01042 {
01043 return begin_stop(null, false, __cb);
01044 }
01045
01046 public Ice.AsyncResult begin_stop(java.util.Map<String, String> __ctx, Callback_CASTComponent_stop __cb)
01047 {
01048 return begin_stop(__ctx, true, __cb);
01049 }
01050
01051 private Ice.AsyncResult begin_stop(java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01052 {
01053 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __stop_name, __cb);
01054 try
01055 {
01056 __result.__prepare(__stop_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01057 IceInternal.BasicStream __os = __result.__os();
01058 __os.endWriteEncaps();
01059 __result.__send(true);
01060 }
01061 catch(Ice.LocalException __ex)
01062 {
01063 __result.__exceptionAsync(__ex);
01064 }
01065 return __result;
01066 }
01067
01068 public void end_stop(Ice.AsyncResult __result)
01069 {
01070 __end(__result, __stop_name);
01071 }
01072
01073 public void
01074 addReader(WorkingMemoryReaderComponentPrx reader)
01075 {
01076 addReader(reader, null, false);
01077 }
01078
01079 public void
01080 addReader(WorkingMemoryReaderComponentPrx reader, java.util.Map<String, String> __ctx)
01081 {
01082 addReader(reader, __ctx, true);
01083 }
01084
01085 private void
01086 addReader(WorkingMemoryReaderComponentPrx reader, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01087 {
01088 if(__explicitCtx && __ctx == null)
01089 {
01090 __ctx = _emptyContext;
01091 }
01092 int __cnt = 0;
01093 while(true)
01094 {
01095 Ice._ObjectDel __delBase = null;
01096 try
01097 {
01098 __delBase = __getDelegate(false);
01099 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01100 __del.addReader(reader, __ctx);
01101 return;
01102 }
01103 catch(IceInternal.LocalExceptionWrapper __ex)
01104 {
01105 __handleExceptionWrapper(__delBase, __ex);
01106 }
01107 catch(Ice.LocalException __ex)
01108 {
01109 __cnt = __handleException(__delBase, __ex, null, __cnt);
01110 }
01111 }
01112 }
01113
01114 private static final String __addReader_name = "addReader";
01115
01116 public Ice.AsyncResult begin_addReader(WorkingMemoryReaderComponentPrx reader)
01117 {
01118 return begin_addReader(reader, null, false, null);
01119 }
01120
01121 public Ice.AsyncResult begin_addReader(WorkingMemoryReaderComponentPrx reader, java.util.Map<String, String> __ctx)
01122 {
01123 return begin_addReader(reader, __ctx, true, null);
01124 }
01125
01126 public Ice.AsyncResult begin_addReader(WorkingMemoryReaderComponentPrx reader, Ice.Callback __cb)
01127 {
01128 return begin_addReader(reader, null, false, __cb);
01129 }
01130
01131 public Ice.AsyncResult begin_addReader(WorkingMemoryReaderComponentPrx reader, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01132 {
01133 return begin_addReader(reader, __ctx, true, __cb);
01134 }
01135
01136 public Ice.AsyncResult begin_addReader(WorkingMemoryReaderComponentPrx reader, Callback_WorkingMemory_addReader __cb)
01137 {
01138 return begin_addReader(reader, null, false, __cb);
01139 }
01140
01141 public Ice.AsyncResult begin_addReader(WorkingMemoryReaderComponentPrx reader, java.util.Map<String, String> __ctx, Callback_WorkingMemory_addReader __cb)
01142 {
01143 return begin_addReader(reader, __ctx, true, __cb);
01144 }
01145
01146 private Ice.AsyncResult begin_addReader(WorkingMemoryReaderComponentPrx reader, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01147 {
01148 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __addReader_name, __cb);
01149 try
01150 {
01151 __result.__prepare(__addReader_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01152 IceInternal.BasicStream __os = __result.__os();
01153 WorkingMemoryReaderComponentPrxHelper.__write(__os, reader);
01154 __os.endWriteEncaps();
01155 __result.__send(true);
01156 }
01157 catch(Ice.LocalException __ex)
01158 {
01159 __result.__exceptionAsync(__ex);
01160 }
01161 return __result;
01162 }
01163
01164 public void end_addReader(Ice.AsyncResult __result)
01165 {
01166 __end(__result, __addReader_name);
01167 }
01168
01169 public void
01170 addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
01171 throws cast.AlreadyExistsOnWMException,
01172 cast.UnknownSubarchitectureException
01173 {
01174 addToWorkingMemory(id, subarch, type, component, entry, null, false);
01175 }
01176
01177 public void
01178 addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx)
01179 throws cast.AlreadyExistsOnWMException,
01180 cast.UnknownSubarchitectureException
01181 {
01182 addToWorkingMemory(id, subarch, type, component, entry, __ctx, true);
01183 }
01184
01185 private void
01186 addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01187 throws cast.AlreadyExistsOnWMException,
01188 cast.UnknownSubarchitectureException
01189 {
01190 if(__explicitCtx && __ctx == null)
01191 {
01192 __ctx = _emptyContext;
01193 }
01194 int __cnt = 0;
01195 while(true)
01196 {
01197 Ice._ObjectDel __delBase = null;
01198 try
01199 {
01200 __checkTwowayOnly("addToWorkingMemory");
01201 __delBase = __getDelegate(false);
01202 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01203 __del.addToWorkingMemory(id, subarch, type, component, entry, __ctx);
01204 return;
01205 }
01206 catch(IceInternal.LocalExceptionWrapper __ex)
01207 {
01208 __handleExceptionWrapper(__delBase, __ex);
01209 }
01210 catch(Ice.LocalException __ex)
01211 {
01212 __cnt = __handleException(__delBase, __ex, null, __cnt);
01213 }
01214 }
01215 }
01216
01217 private static final String __addToWorkingMemory_name = "addToWorkingMemory";
01218
01219 public Ice.AsyncResult begin_addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
01220 {
01221 return begin_addToWorkingMemory(id, subarch, type, component, entry, null, false, null);
01222 }
01223
01224 public Ice.AsyncResult begin_addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx)
01225 {
01226 return begin_addToWorkingMemory(id, subarch, type, component, entry, __ctx, true, null);
01227 }
01228
01229 public Ice.AsyncResult begin_addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, Ice.Callback __cb)
01230 {
01231 return begin_addToWorkingMemory(id, subarch, type, component, entry, null, false, __cb);
01232 }
01233
01234 public Ice.AsyncResult begin_addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01235 {
01236 return begin_addToWorkingMemory(id, subarch, type, component, entry, __ctx, true, __cb);
01237 }
01238
01239 public Ice.AsyncResult begin_addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, Callback_WorkingMemory_addToWorkingMemory __cb)
01240 {
01241 return begin_addToWorkingMemory(id, subarch, type, component, entry, null, false, __cb);
01242 }
01243
01244 public Ice.AsyncResult begin_addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, Callback_WorkingMemory_addToWorkingMemory __cb)
01245 {
01246 return begin_addToWorkingMemory(id, subarch, type, component, entry, __ctx, true, __cb);
01247 }
01248
01249 private Ice.AsyncResult begin_addToWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01250 {
01251 __checkAsyncTwowayOnly(__addToWorkingMemory_name);
01252 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __addToWorkingMemory_name, __cb);
01253 try
01254 {
01255 __result.__prepare(__addToWorkingMemory_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01256 IceInternal.BasicStream __os = __result.__os();
01257 __os.writeString(id);
01258 __os.writeString(subarch);
01259 __os.writeString(type);
01260 __os.writeString(component);
01261 __os.writeObject(entry);
01262 __os.writePendingObjects();
01263 __os.endWriteEncaps();
01264 __result.__send(true);
01265 }
01266 catch(Ice.LocalException __ex)
01267 {
01268 __result.__exceptionAsync(__ex);
01269 }
01270 return __result;
01271 }
01272
01273 public void end_addToWorkingMemory(Ice.AsyncResult __result)
01274 throws cast.AlreadyExistsOnWMException,
01275 cast.UnknownSubarchitectureException
01276 {
01277 Ice.AsyncResult.__check(__result, this, __addToWorkingMemory_name);
01278 if(!__result.__wait())
01279 {
01280 try
01281 {
01282 __result.__throwUserException();
01283 }
01284 catch(cast.AlreadyExistsOnWMException __ex)
01285 {
01286 throw __ex;
01287 }
01288 catch(cast.UnknownSubarchitectureException __ex)
01289 {
01290 throw __ex;
01291 }
01292 catch(Ice.UserException __ex)
01293 {
01294 throw new Ice.UnknownUserException(__ex.ice_name());
01295 }
01296 }
01297 IceInternal.BasicStream __is = __result.__is();
01298 __is.skipEmptyEncaps();
01299 }
01300
01301 public void
01302 deleteFromWorkingMemory(String id, String subarch, String component)
01303 throws cast.DoesNotExistOnWMException,
01304 cast.UnknownSubarchitectureException
01305 {
01306 deleteFromWorkingMemory(id, subarch, component, null, false);
01307 }
01308
01309 public void
01310 deleteFromWorkingMemory(String id, String subarch, String component, java.util.Map<String, String> __ctx)
01311 throws cast.DoesNotExistOnWMException,
01312 cast.UnknownSubarchitectureException
01313 {
01314 deleteFromWorkingMemory(id, subarch, component, __ctx, true);
01315 }
01316
01317 private void
01318 deleteFromWorkingMemory(String id, String subarch, String component, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01319 throws cast.DoesNotExistOnWMException,
01320 cast.UnknownSubarchitectureException
01321 {
01322 if(__explicitCtx && __ctx == null)
01323 {
01324 __ctx = _emptyContext;
01325 }
01326 int __cnt = 0;
01327 while(true)
01328 {
01329 Ice._ObjectDel __delBase = null;
01330 try
01331 {
01332 __checkTwowayOnly("deleteFromWorkingMemory");
01333 __delBase = __getDelegate(false);
01334 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01335 __del.deleteFromWorkingMemory(id, subarch, component, __ctx);
01336 return;
01337 }
01338 catch(IceInternal.LocalExceptionWrapper __ex)
01339 {
01340 __handleExceptionWrapper(__delBase, __ex);
01341 }
01342 catch(Ice.LocalException __ex)
01343 {
01344 __cnt = __handleException(__delBase, __ex, null, __cnt);
01345 }
01346 }
01347 }
01348
01349 private static final String __deleteFromWorkingMemory_name = "deleteFromWorkingMemory";
01350
01351 public Ice.AsyncResult begin_deleteFromWorkingMemory(String id, String subarch, String component)
01352 {
01353 return begin_deleteFromWorkingMemory(id, subarch, component, null, false, null);
01354 }
01355
01356 public Ice.AsyncResult begin_deleteFromWorkingMemory(String id, String subarch, String component, java.util.Map<String, String> __ctx)
01357 {
01358 return begin_deleteFromWorkingMemory(id, subarch, component, __ctx, true, null);
01359 }
01360
01361 public Ice.AsyncResult begin_deleteFromWorkingMemory(String id, String subarch, String component, Ice.Callback __cb)
01362 {
01363 return begin_deleteFromWorkingMemory(id, subarch, component, null, false, __cb);
01364 }
01365
01366 public Ice.AsyncResult begin_deleteFromWorkingMemory(String id, String subarch, String component, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01367 {
01368 return begin_deleteFromWorkingMemory(id, subarch, component, __ctx, true, __cb);
01369 }
01370
01371 public Ice.AsyncResult begin_deleteFromWorkingMemory(String id, String subarch, String component, Callback_WorkingMemory_deleteFromWorkingMemory __cb)
01372 {
01373 return begin_deleteFromWorkingMemory(id, subarch, component, null, false, __cb);
01374 }
01375
01376 public Ice.AsyncResult begin_deleteFromWorkingMemory(String id, String subarch, String component, java.util.Map<String, String> __ctx, Callback_WorkingMemory_deleteFromWorkingMemory __cb)
01377 {
01378 return begin_deleteFromWorkingMemory(id, subarch, component, __ctx, true, __cb);
01379 }
01380
01381 private Ice.AsyncResult begin_deleteFromWorkingMemory(String id, String subarch, String component, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01382 {
01383 __checkAsyncTwowayOnly(__deleteFromWorkingMemory_name);
01384 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __deleteFromWorkingMemory_name, __cb);
01385 try
01386 {
01387 __result.__prepare(__deleteFromWorkingMemory_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01388 IceInternal.BasicStream __os = __result.__os();
01389 __os.writeString(id);
01390 __os.writeString(subarch);
01391 __os.writeString(component);
01392 __os.endWriteEncaps();
01393 __result.__send(true);
01394 }
01395 catch(Ice.LocalException __ex)
01396 {
01397 __result.__exceptionAsync(__ex);
01398 }
01399 return __result;
01400 }
01401
01402 public void end_deleteFromWorkingMemory(Ice.AsyncResult __result)
01403 throws cast.DoesNotExistOnWMException,
01404 cast.UnknownSubarchitectureException
01405 {
01406 Ice.AsyncResult.__check(__result, this, __deleteFromWorkingMemory_name);
01407 if(!__result.__wait())
01408 {
01409 try
01410 {
01411 __result.__throwUserException();
01412 }
01413 catch(cast.DoesNotExistOnWMException __ex)
01414 {
01415 throw __ex;
01416 }
01417 catch(cast.UnknownSubarchitectureException __ex)
01418 {
01419 throw __ex;
01420 }
01421 catch(Ice.UserException __ex)
01422 {
01423 throw new Ice.UnknownUserException(__ex.ice_name());
01424 }
01425 }
01426 IceInternal.BasicStream __is = __result.__is();
01427 __is.skipEmptyEncaps();
01428 }
01429
01430 public boolean
01431 exists(String id, String subarch)
01432 throws cast.UnknownSubarchitectureException
01433 {
01434 return exists(id, subarch, null, false);
01435 }
01436
01437 public boolean
01438 exists(String id, String subarch, java.util.Map<String, String> __ctx)
01439 throws cast.UnknownSubarchitectureException
01440 {
01441 return exists(id, subarch, __ctx, true);
01442 }
01443
01444 private boolean
01445 exists(String id, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01446 throws cast.UnknownSubarchitectureException
01447 {
01448 if(__explicitCtx && __ctx == null)
01449 {
01450 __ctx = _emptyContext;
01451 }
01452 int __cnt = 0;
01453 while(true)
01454 {
01455 Ice._ObjectDel __delBase = null;
01456 try
01457 {
01458 __checkTwowayOnly("exists");
01459 __delBase = __getDelegate(false);
01460 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01461 return __del.exists(id, subarch, __ctx);
01462 }
01463 catch(IceInternal.LocalExceptionWrapper __ex)
01464 {
01465 __cnt = __handleExceptionWrapperRelaxed(__delBase, __ex, null, __cnt);
01466 }
01467 catch(Ice.LocalException __ex)
01468 {
01469 __cnt = __handleException(__delBase, __ex, null, __cnt);
01470 }
01471 }
01472 }
01473
01474 private static final String __exists_name = "exists";
01475
01476 public Ice.AsyncResult begin_exists(String id, String subarch)
01477 {
01478 return begin_exists(id, subarch, null, false, null);
01479 }
01480
01481 public Ice.AsyncResult begin_exists(String id, String subarch, java.util.Map<String, String> __ctx)
01482 {
01483 return begin_exists(id, subarch, __ctx, true, null);
01484 }
01485
01486 public Ice.AsyncResult begin_exists(String id, String subarch, Ice.Callback __cb)
01487 {
01488 return begin_exists(id, subarch, null, false, __cb);
01489 }
01490
01491 public Ice.AsyncResult begin_exists(String id, String subarch, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01492 {
01493 return begin_exists(id, subarch, __ctx, true, __cb);
01494 }
01495
01496 public Ice.AsyncResult begin_exists(String id, String subarch, Callback_WorkingMemory_exists __cb)
01497 {
01498 return begin_exists(id, subarch, null, false, __cb);
01499 }
01500
01501 public Ice.AsyncResult begin_exists(String id, String subarch, java.util.Map<String, String> __ctx, Callback_WorkingMemory_exists __cb)
01502 {
01503 return begin_exists(id, subarch, __ctx, true, __cb);
01504 }
01505
01506 private Ice.AsyncResult begin_exists(String id, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01507 {
01508 __checkAsyncTwowayOnly(__exists_name);
01509 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __exists_name, __cb);
01510 try
01511 {
01512 __result.__prepare(__exists_name, Ice.OperationMode.Idempotent, __ctx, __explicitCtx);
01513 IceInternal.BasicStream __os = __result.__os();
01514 __os.writeString(id);
01515 __os.writeString(subarch);
01516 __os.endWriteEncaps();
01517 __result.__send(true);
01518 }
01519 catch(Ice.LocalException __ex)
01520 {
01521 __result.__exceptionAsync(__ex);
01522 }
01523 return __result;
01524 }
01525
01526 public boolean end_exists(Ice.AsyncResult __result)
01527 throws cast.UnknownSubarchitectureException
01528 {
01529 Ice.AsyncResult.__check(__result, this, __exists_name);
01530 if(!__result.__wait())
01531 {
01532 try
01533 {
01534 __result.__throwUserException();
01535 }
01536 catch(cast.UnknownSubarchitectureException __ex)
01537 {
01538 throw __ex;
01539 }
01540 catch(Ice.UserException __ex)
01541 {
01542 throw new Ice.UnknownUserException(__ex.ice_name());
01543 }
01544 }
01545 boolean __ret;
01546 IceInternal.BasicStream __is = __result.__is();
01547 __is.startReadEncaps();
01548 __ret = __is.readBool();
01549 __is.endReadEncaps();
01550 return __ret;
01551 }
01552
01553 public cast.cdl.WorkingMemoryPermissions
01554 getPermissions(String id, String subarch)
01555 throws cast.DoesNotExistOnWMException,
01556 cast.UnknownSubarchitectureException
01557 {
01558 return getPermissions(id, subarch, null, false);
01559 }
01560
01561 public cast.cdl.WorkingMemoryPermissions
01562 getPermissions(String id, String subarch, java.util.Map<String, String> __ctx)
01563 throws cast.DoesNotExistOnWMException,
01564 cast.UnknownSubarchitectureException
01565 {
01566 return getPermissions(id, subarch, __ctx, true);
01567 }
01568
01569 private cast.cdl.WorkingMemoryPermissions
01570 getPermissions(String id, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01571 throws cast.DoesNotExistOnWMException,
01572 cast.UnknownSubarchitectureException
01573 {
01574 if(__explicitCtx && __ctx == null)
01575 {
01576 __ctx = _emptyContext;
01577 }
01578 int __cnt = 0;
01579 while(true)
01580 {
01581 Ice._ObjectDel __delBase = null;
01582 try
01583 {
01584 __checkTwowayOnly("getPermissions");
01585 __delBase = __getDelegate(false);
01586 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01587 return __del.getPermissions(id, subarch, __ctx);
01588 }
01589 catch(IceInternal.LocalExceptionWrapper __ex)
01590 {
01591 __cnt = __handleExceptionWrapperRelaxed(__delBase, __ex, null, __cnt);
01592 }
01593 catch(Ice.LocalException __ex)
01594 {
01595 __cnt = __handleException(__delBase, __ex, null, __cnt);
01596 }
01597 }
01598 }
01599
01600 private static final String __getPermissions_name = "getPermissions";
01601
01602 public Ice.AsyncResult begin_getPermissions(String id, String subarch)
01603 {
01604 return begin_getPermissions(id, subarch, null, false, null);
01605 }
01606
01607 public Ice.AsyncResult begin_getPermissions(String id, String subarch, java.util.Map<String, String> __ctx)
01608 {
01609 return begin_getPermissions(id, subarch, __ctx, true, null);
01610 }
01611
01612 public Ice.AsyncResult begin_getPermissions(String id, String subarch, Ice.Callback __cb)
01613 {
01614 return begin_getPermissions(id, subarch, null, false, __cb);
01615 }
01616
01617 public Ice.AsyncResult begin_getPermissions(String id, String subarch, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01618 {
01619 return begin_getPermissions(id, subarch, __ctx, true, __cb);
01620 }
01621
01622 public Ice.AsyncResult begin_getPermissions(String id, String subarch, Callback_WorkingMemory_getPermissions __cb)
01623 {
01624 return begin_getPermissions(id, subarch, null, false, __cb);
01625 }
01626
01627 public Ice.AsyncResult begin_getPermissions(String id, String subarch, java.util.Map<String, String> __ctx, Callback_WorkingMemory_getPermissions __cb)
01628 {
01629 return begin_getPermissions(id, subarch, __ctx, true, __cb);
01630 }
01631
01632 private Ice.AsyncResult begin_getPermissions(String id, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01633 {
01634 __checkAsyncTwowayOnly(__getPermissions_name);
01635 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getPermissions_name, __cb);
01636 try
01637 {
01638 __result.__prepare(__getPermissions_name, Ice.OperationMode.Idempotent, __ctx, __explicitCtx);
01639 IceInternal.BasicStream __os = __result.__os();
01640 __os.writeString(id);
01641 __os.writeString(subarch);
01642 __os.endWriteEncaps();
01643 __result.__send(true);
01644 }
01645 catch(Ice.LocalException __ex)
01646 {
01647 __result.__exceptionAsync(__ex);
01648 }
01649 return __result;
01650 }
01651
01652 public cast.cdl.WorkingMemoryPermissions end_getPermissions(Ice.AsyncResult __result)
01653 throws cast.DoesNotExistOnWMException,
01654 cast.UnknownSubarchitectureException
01655 {
01656 Ice.AsyncResult.__check(__result, this, __getPermissions_name);
01657 if(!__result.__wait())
01658 {
01659 try
01660 {
01661 __result.__throwUserException();
01662 }
01663 catch(cast.DoesNotExistOnWMException __ex)
01664 {
01665 throw __ex;
01666 }
01667 catch(cast.UnknownSubarchitectureException __ex)
01668 {
01669 throw __ex;
01670 }
01671 catch(Ice.UserException __ex)
01672 {
01673 throw new Ice.UnknownUserException(__ex.ice_name());
01674 }
01675 }
01676 cast.cdl.WorkingMemoryPermissions __ret;
01677 IceInternal.BasicStream __is = __result.__is();
01678 __is.startReadEncaps();
01679 __ret = cast.cdl.WorkingMemoryPermissions.__read(__is);
01680 __is.endReadEncaps();
01681 return __ret;
01682 }
01683
01684 public int
01685 getVersionNumber(String id, String subarch)
01686 throws cast.DoesNotExistOnWMException,
01687 cast.UnknownSubarchitectureException
01688 {
01689 return getVersionNumber(id, subarch, null, false);
01690 }
01691
01692 public int
01693 getVersionNumber(String id, String subarch, java.util.Map<String, String> __ctx)
01694 throws cast.DoesNotExistOnWMException,
01695 cast.UnknownSubarchitectureException
01696 {
01697 return getVersionNumber(id, subarch, __ctx, true);
01698 }
01699
01700 private int
01701 getVersionNumber(String id, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01702 throws cast.DoesNotExistOnWMException,
01703 cast.UnknownSubarchitectureException
01704 {
01705 if(__explicitCtx && __ctx == null)
01706 {
01707 __ctx = _emptyContext;
01708 }
01709 int __cnt = 0;
01710 while(true)
01711 {
01712 Ice._ObjectDel __delBase = null;
01713 try
01714 {
01715 __checkTwowayOnly("getVersionNumber");
01716 __delBase = __getDelegate(false);
01717 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01718 return __del.getVersionNumber(id, subarch, __ctx);
01719 }
01720 catch(IceInternal.LocalExceptionWrapper __ex)
01721 {
01722 __cnt = __handleExceptionWrapperRelaxed(__delBase, __ex, null, __cnt);
01723 }
01724 catch(Ice.LocalException __ex)
01725 {
01726 __cnt = __handleException(__delBase, __ex, null, __cnt);
01727 }
01728 }
01729 }
01730
01731 private static final String __getVersionNumber_name = "getVersionNumber";
01732
01733 public Ice.AsyncResult begin_getVersionNumber(String id, String subarch)
01734 {
01735 return begin_getVersionNumber(id, subarch, null, false, null);
01736 }
01737
01738 public Ice.AsyncResult begin_getVersionNumber(String id, String subarch, java.util.Map<String, String> __ctx)
01739 {
01740 return begin_getVersionNumber(id, subarch, __ctx, true, null);
01741 }
01742
01743 public Ice.AsyncResult begin_getVersionNumber(String id, String subarch, Ice.Callback __cb)
01744 {
01745 return begin_getVersionNumber(id, subarch, null, false, __cb);
01746 }
01747
01748 public Ice.AsyncResult begin_getVersionNumber(String id, String subarch, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01749 {
01750 return begin_getVersionNumber(id, subarch, __ctx, true, __cb);
01751 }
01752
01753 public Ice.AsyncResult begin_getVersionNumber(String id, String subarch, Callback_WorkingMemory_getVersionNumber __cb)
01754 {
01755 return begin_getVersionNumber(id, subarch, null, false, __cb);
01756 }
01757
01758 public Ice.AsyncResult begin_getVersionNumber(String id, String subarch, java.util.Map<String, String> __ctx, Callback_WorkingMemory_getVersionNumber __cb)
01759 {
01760 return begin_getVersionNumber(id, subarch, __ctx, true, __cb);
01761 }
01762
01763 private Ice.AsyncResult begin_getVersionNumber(String id, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01764 {
01765 __checkAsyncTwowayOnly(__getVersionNumber_name);
01766 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getVersionNumber_name, __cb);
01767 try
01768 {
01769 __result.__prepare(__getVersionNumber_name, Ice.OperationMode.Idempotent, __ctx, __explicitCtx);
01770 IceInternal.BasicStream __os = __result.__os();
01771 __os.writeString(id);
01772 __os.writeString(subarch);
01773 __os.endWriteEncaps();
01774 __result.__send(true);
01775 }
01776 catch(Ice.LocalException __ex)
01777 {
01778 __result.__exceptionAsync(__ex);
01779 }
01780 return __result;
01781 }
01782
01783 public int end_getVersionNumber(Ice.AsyncResult __result)
01784 throws cast.DoesNotExistOnWMException,
01785 cast.UnknownSubarchitectureException
01786 {
01787 Ice.AsyncResult.__check(__result, this, __getVersionNumber_name);
01788 if(!__result.__wait())
01789 {
01790 try
01791 {
01792 __result.__throwUserException();
01793 }
01794 catch(cast.DoesNotExistOnWMException __ex)
01795 {
01796 throw __ex;
01797 }
01798 catch(cast.UnknownSubarchitectureException __ex)
01799 {
01800 throw __ex;
01801 }
01802 catch(Ice.UserException __ex)
01803 {
01804 throw new Ice.UnknownUserException(__ex.ice_name());
01805 }
01806 }
01807 int __ret;
01808 IceInternal.BasicStream __is = __result.__is();
01809 __is.startReadEncaps();
01810 __ret = __is.readInt();
01811 __is.endReadEncaps();
01812 return __ret;
01813 }
01814
01815 public void
01816 getWorkingMemoryEntries(String type, String subarch, int count, String component, cast.cdl.WorkingMemoryEntrySeqHolder entries)
01817 throws cast.UnknownSubarchitectureException
01818 {
01819 getWorkingMemoryEntries(type, subarch, count, component, entries, null, false);
01820 }
01821
01822 public void
01823 getWorkingMemoryEntries(String type, String subarch, int count, String component, cast.cdl.WorkingMemoryEntrySeqHolder entries, java.util.Map<String, String> __ctx)
01824 throws cast.UnknownSubarchitectureException
01825 {
01826 getWorkingMemoryEntries(type, subarch, count, component, entries, __ctx, true);
01827 }
01828
01829 private void
01830 getWorkingMemoryEntries(String type, String subarch, int count, String component, cast.cdl.WorkingMemoryEntrySeqHolder entries, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01831 throws cast.UnknownSubarchitectureException
01832 {
01833 if(__explicitCtx && __ctx == null)
01834 {
01835 __ctx = _emptyContext;
01836 }
01837 int __cnt = 0;
01838 while(true)
01839 {
01840 Ice._ObjectDel __delBase = null;
01841 try
01842 {
01843 __checkTwowayOnly("getWorkingMemoryEntries");
01844 __delBase = __getDelegate(false);
01845 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01846 __del.getWorkingMemoryEntries(type, subarch, count, component, entries, __ctx);
01847 return;
01848 }
01849 catch(IceInternal.LocalExceptionWrapper __ex)
01850 {
01851 __handleExceptionWrapper(__delBase, __ex);
01852 }
01853 catch(Ice.LocalException __ex)
01854 {
01855 __cnt = __handleException(__delBase, __ex, null, __cnt);
01856 }
01857 }
01858 }
01859
01860 private static final String __getWorkingMemoryEntries_name = "getWorkingMemoryEntries";
01861
01862 public Ice.AsyncResult begin_getWorkingMemoryEntries(String type, String subarch, int count, String component)
01863 {
01864 return begin_getWorkingMemoryEntries(type, subarch, count, component, null, false, null);
01865 }
01866
01867 public Ice.AsyncResult begin_getWorkingMemoryEntries(String type, String subarch, int count, String component, java.util.Map<String, String> __ctx)
01868 {
01869 return begin_getWorkingMemoryEntries(type, subarch, count, component, __ctx, true, null);
01870 }
01871
01872 public Ice.AsyncResult begin_getWorkingMemoryEntries(String type, String subarch, int count, String component, Ice.Callback __cb)
01873 {
01874 return begin_getWorkingMemoryEntries(type, subarch, count, component, null, false, __cb);
01875 }
01876
01877 public Ice.AsyncResult begin_getWorkingMemoryEntries(String type, String subarch, int count, String component, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01878 {
01879 return begin_getWorkingMemoryEntries(type, subarch, count, component, __ctx, true, __cb);
01880 }
01881
01882 public Ice.AsyncResult begin_getWorkingMemoryEntries(String type, String subarch, int count, String component, Callback_WorkingMemory_getWorkingMemoryEntries __cb)
01883 {
01884 return begin_getWorkingMemoryEntries(type, subarch, count, component, null, false, __cb);
01885 }
01886
01887 public Ice.AsyncResult begin_getWorkingMemoryEntries(String type, String subarch, int count, String component, java.util.Map<String, String> __ctx, Callback_WorkingMemory_getWorkingMemoryEntries __cb)
01888 {
01889 return begin_getWorkingMemoryEntries(type, subarch, count, component, __ctx, true, __cb);
01890 }
01891
01892 private Ice.AsyncResult begin_getWorkingMemoryEntries(String type, String subarch, int count, String component, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01893 {
01894 __checkAsyncTwowayOnly(__getWorkingMemoryEntries_name);
01895 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getWorkingMemoryEntries_name, __cb);
01896 try
01897 {
01898 __result.__prepare(__getWorkingMemoryEntries_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01899 IceInternal.BasicStream __os = __result.__os();
01900 __os.writeString(type);
01901 __os.writeString(subarch);
01902 __os.writeInt(count);
01903 __os.writeString(component);
01904 __os.endWriteEncaps();
01905 __result.__send(true);
01906 }
01907 catch(Ice.LocalException __ex)
01908 {
01909 __result.__exceptionAsync(__ex);
01910 }
01911 return __result;
01912 }
01913
01914 public void end_getWorkingMemoryEntries(cast.cdl.WorkingMemoryEntrySeqHolder entries, Ice.AsyncResult __result)
01915 throws cast.UnknownSubarchitectureException
01916 {
01917 Ice.AsyncResult.__check(__result, this, __getWorkingMemoryEntries_name);
01918 if(!__result.__wait())
01919 {
01920 try
01921 {
01922 __result.__throwUserException();
01923 }
01924 catch(cast.UnknownSubarchitectureException __ex)
01925 {
01926 throw __ex;
01927 }
01928 catch(Ice.UserException __ex)
01929 {
01930 throw new Ice.UnknownUserException(__ex.ice_name());
01931 }
01932 }
01933 IceInternal.BasicStream __is = __result.__is();
01934 __is.startReadEncaps();
01935 entries.value = cast.cdl.WorkingMemoryEntrySeqHelper.read(__is);
01936 __is.readPendingObjects();
01937 __is.endReadEncaps();
01938 }
01939
01940 public cast.cdl.WorkingMemoryEntry
01941 getWorkingMemoryEntry(String id, String subarch, String component)
01942 throws cast.DoesNotExistOnWMException,
01943 cast.UnknownSubarchitectureException
01944 {
01945 return getWorkingMemoryEntry(id, subarch, component, null, false);
01946 }
01947
01948 public cast.cdl.WorkingMemoryEntry
01949 getWorkingMemoryEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx)
01950 throws cast.DoesNotExistOnWMException,
01951 cast.UnknownSubarchitectureException
01952 {
01953 return getWorkingMemoryEntry(id, subarch, component, __ctx, true);
01954 }
01955
01956 private cast.cdl.WorkingMemoryEntry
01957 getWorkingMemoryEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01958 throws cast.DoesNotExistOnWMException,
01959 cast.UnknownSubarchitectureException
01960 {
01961 if(__explicitCtx && __ctx == null)
01962 {
01963 __ctx = _emptyContext;
01964 }
01965 int __cnt = 0;
01966 while(true)
01967 {
01968 Ice._ObjectDel __delBase = null;
01969 try
01970 {
01971 __checkTwowayOnly("getWorkingMemoryEntry");
01972 __delBase = __getDelegate(false);
01973 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
01974 return __del.getWorkingMemoryEntry(id, subarch, component, __ctx);
01975 }
01976 catch(IceInternal.LocalExceptionWrapper __ex)
01977 {
01978 __handleExceptionWrapper(__delBase, __ex);
01979 }
01980 catch(Ice.LocalException __ex)
01981 {
01982 __cnt = __handleException(__delBase, __ex, null, __cnt);
01983 }
01984 }
01985 }
01986
01987 private static final String __getWorkingMemoryEntry_name = "getWorkingMemoryEntry";
01988
01989 public Ice.AsyncResult begin_getWorkingMemoryEntry(String id, String subarch, String component)
01990 {
01991 return begin_getWorkingMemoryEntry(id, subarch, component, null, false, null);
01992 }
01993
01994 public Ice.AsyncResult begin_getWorkingMemoryEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx)
01995 {
01996 return begin_getWorkingMemoryEntry(id, subarch, component, __ctx, true, null);
01997 }
01998
01999 public Ice.AsyncResult begin_getWorkingMemoryEntry(String id, String subarch, String component, Ice.Callback __cb)
02000 {
02001 return begin_getWorkingMemoryEntry(id, subarch, component, null, false, __cb);
02002 }
02003
02004 public Ice.AsyncResult begin_getWorkingMemoryEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02005 {
02006 return begin_getWorkingMemoryEntry(id, subarch, component, __ctx, true, __cb);
02007 }
02008
02009 public Ice.AsyncResult begin_getWorkingMemoryEntry(String id, String subarch, String component, Callback_WorkingMemory_getWorkingMemoryEntry __cb)
02010 {
02011 return begin_getWorkingMemoryEntry(id, subarch, component, null, false, __cb);
02012 }
02013
02014 public Ice.AsyncResult begin_getWorkingMemoryEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, Callback_WorkingMemory_getWorkingMemoryEntry __cb)
02015 {
02016 return begin_getWorkingMemoryEntry(id, subarch, component, __ctx, true, __cb);
02017 }
02018
02019 private Ice.AsyncResult begin_getWorkingMemoryEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02020 {
02021 __checkAsyncTwowayOnly(__getWorkingMemoryEntry_name);
02022 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __getWorkingMemoryEntry_name, __cb);
02023 try
02024 {
02025 __result.__prepare(__getWorkingMemoryEntry_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02026 IceInternal.BasicStream __os = __result.__os();
02027 __os.writeString(id);
02028 __os.writeString(subarch);
02029 __os.writeString(component);
02030 __os.endWriteEncaps();
02031 __result.__send(true);
02032 }
02033 catch(Ice.LocalException __ex)
02034 {
02035 __result.__exceptionAsync(__ex);
02036 }
02037 return __result;
02038 }
02039
02040 public cast.cdl.WorkingMemoryEntry end_getWorkingMemoryEntry(Ice.AsyncResult __result)
02041 throws cast.DoesNotExistOnWMException,
02042 cast.UnknownSubarchitectureException
02043 {
02044 Ice.AsyncResult.__check(__result, this, __getWorkingMemoryEntry_name);
02045 if(!__result.__wait())
02046 {
02047 try
02048 {
02049 __result.__throwUserException();
02050 }
02051 catch(cast.DoesNotExistOnWMException __ex)
02052 {
02053 throw __ex;
02054 }
02055 catch(cast.UnknownSubarchitectureException __ex)
02056 {
02057 throw __ex;
02058 }
02059 catch(Ice.UserException __ex)
02060 {
02061 throw new Ice.UnknownUserException(__ex.ice_name());
02062 }
02063 }
02064 cast.cdl.WorkingMemoryEntryHolder __ret = new cast.cdl.WorkingMemoryEntryHolder();
02065 IceInternal.BasicStream __is = __result.__is();
02066 __is.startReadEncaps();
02067 __is.readObject(__ret);
02068 __is.readPendingObjects();
02069 __is.endReadEncaps();
02070 return __ret.value;
02071 }
02072
02073 public void
02074 lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
02075 throws cast.DoesNotExistOnWMException,
02076 cast.UnknownSubarchitectureException
02077 {
02078 lockEntry(id, subarch, component, permissions, null, false);
02079 }
02080
02081 public void
02082 lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx)
02083 throws cast.DoesNotExistOnWMException,
02084 cast.UnknownSubarchitectureException
02085 {
02086 lockEntry(id, subarch, component, permissions, __ctx, true);
02087 }
02088
02089 private void
02090 lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02091 throws cast.DoesNotExistOnWMException,
02092 cast.UnknownSubarchitectureException
02093 {
02094 if(__explicitCtx && __ctx == null)
02095 {
02096 __ctx = _emptyContext;
02097 }
02098 int __cnt = 0;
02099 while(true)
02100 {
02101 Ice._ObjectDel __delBase = null;
02102 try
02103 {
02104 __checkTwowayOnly("lockEntry");
02105 __delBase = __getDelegate(false);
02106 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02107 __del.lockEntry(id, subarch, component, permissions, __ctx);
02108 return;
02109 }
02110 catch(IceInternal.LocalExceptionWrapper __ex)
02111 {
02112 __handleExceptionWrapper(__delBase, __ex);
02113 }
02114 catch(Ice.LocalException __ex)
02115 {
02116 __cnt = __handleException(__delBase, __ex, null, __cnt);
02117 }
02118 }
02119 }
02120
02121 private static final String __lockEntry_name = "lockEntry";
02122
02123 public Ice.AsyncResult begin_lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
02124 {
02125 return begin_lockEntry(id, subarch, component, permissions, null, false, null);
02126 }
02127
02128 public Ice.AsyncResult begin_lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx)
02129 {
02130 return begin_lockEntry(id, subarch, component, permissions, __ctx, true, null);
02131 }
02132
02133 public Ice.AsyncResult begin_lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, Ice.Callback __cb)
02134 {
02135 return begin_lockEntry(id, subarch, component, permissions, null, false, __cb);
02136 }
02137
02138 public Ice.AsyncResult begin_lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02139 {
02140 return begin_lockEntry(id, subarch, component, permissions, __ctx, true, __cb);
02141 }
02142
02143 public Ice.AsyncResult begin_lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, Callback_WorkingMemory_lockEntry __cb)
02144 {
02145 return begin_lockEntry(id, subarch, component, permissions, null, false, __cb);
02146 }
02147
02148 public Ice.AsyncResult begin_lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, Callback_WorkingMemory_lockEntry __cb)
02149 {
02150 return begin_lockEntry(id, subarch, component, permissions, __ctx, true, __cb);
02151 }
02152
02153 private Ice.AsyncResult begin_lockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02154 {
02155 __checkAsyncTwowayOnly(__lockEntry_name);
02156 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __lockEntry_name, __cb);
02157 try
02158 {
02159 __result.__prepare(__lockEntry_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02160 IceInternal.BasicStream __os = __result.__os();
02161 __os.writeString(id);
02162 __os.writeString(subarch);
02163 __os.writeString(component);
02164 permissions.__write(__os);
02165 __os.endWriteEncaps();
02166 __result.__send(true);
02167 }
02168 catch(Ice.LocalException __ex)
02169 {
02170 __result.__exceptionAsync(__ex);
02171 }
02172 return __result;
02173 }
02174
02175 public void end_lockEntry(Ice.AsyncResult __result)
02176 throws cast.DoesNotExistOnWMException,
02177 cast.UnknownSubarchitectureException
02178 {
02179 Ice.AsyncResult.__check(__result, this, __lockEntry_name);
02180 if(!__result.__wait())
02181 {
02182 try
02183 {
02184 __result.__throwUserException();
02185 }
02186 catch(cast.DoesNotExistOnWMException __ex)
02187 {
02188 throw __ex;
02189 }
02190 catch(cast.UnknownSubarchitectureException __ex)
02191 {
02192 throw __ex;
02193 }
02194 catch(Ice.UserException __ex)
02195 {
02196 throw new Ice.UnknownUserException(__ex.ice_name());
02197 }
02198 }
02199 IceInternal.BasicStream __is = __result.__is();
02200 __is.skipEmptyEncaps();
02201 }
02202
02203 public void
02204 overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
02205 throws cast.DoesNotExistOnWMException,
02206 cast.UnknownSubarchitectureException
02207 {
02208 overwriteWorkingMemory(id, subarch, type, component, entry, null, false);
02209 }
02210
02211 public void
02212 overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx)
02213 throws cast.DoesNotExistOnWMException,
02214 cast.UnknownSubarchitectureException
02215 {
02216 overwriteWorkingMemory(id, subarch, type, component, entry, __ctx, true);
02217 }
02218
02219 private void
02220 overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02221 throws cast.DoesNotExistOnWMException,
02222 cast.UnknownSubarchitectureException
02223 {
02224 if(__explicitCtx && __ctx == null)
02225 {
02226 __ctx = _emptyContext;
02227 }
02228 int __cnt = 0;
02229 while(true)
02230 {
02231 Ice._ObjectDel __delBase = null;
02232 try
02233 {
02234 __checkTwowayOnly("overwriteWorkingMemory");
02235 __delBase = __getDelegate(false);
02236 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02237 __del.overwriteWorkingMemory(id, subarch, type, component, entry, __ctx);
02238 return;
02239 }
02240 catch(IceInternal.LocalExceptionWrapper __ex)
02241 {
02242 __handleExceptionWrapper(__delBase, __ex);
02243 }
02244 catch(Ice.LocalException __ex)
02245 {
02246 __cnt = __handleException(__delBase, __ex, null, __cnt);
02247 }
02248 }
02249 }
02250
02251 private static final String __overwriteWorkingMemory_name = "overwriteWorkingMemory";
02252
02253 public Ice.AsyncResult begin_overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry)
02254 {
02255 return begin_overwriteWorkingMemory(id, subarch, type, component, entry, null, false, null);
02256 }
02257
02258 public Ice.AsyncResult begin_overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx)
02259 {
02260 return begin_overwriteWorkingMemory(id, subarch, type, component, entry, __ctx, true, null);
02261 }
02262
02263 public Ice.AsyncResult begin_overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, Ice.Callback __cb)
02264 {
02265 return begin_overwriteWorkingMemory(id, subarch, type, component, entry, null, false, __cb);
02266 }
02267
02268 public Ice.AsyncResult begin_overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02269 {
02270 return begin_overwriteWorkingMemory(id, subarch, type, component, entry, __ctx, true, __cb);
02271 }
02272
02273 public Ice.AsyncResult begin_overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, Callback_WorkingMemory_overwriteWorkingMemory __cb)
02274 {
02275 return begin_overwriteWorkingMemory(id, subarch, type, component, entry, null, false, __cb);
02276 }
02277
02278 public Ice.AsyncResult begin_overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, Callback_WorkingMemory_overwriteWorkingMemory __cb)
02279 {
02280 return begin_overwriteWorkingMemory(id, subarch, type, component, entry, __ctx, true, __cb);
02281 }
02282
02283 private Ice.AsyncResult begin_overwriteWorkingMemory(String id, String subarch, String type, String component, Ice.Object entry, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02284 {
02285 __checkAsyncTwowayOnly(__overwriteWorkingMemory_name);
02286 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __overwriteWorkingMemory_name, __cb);
02287 try
02288 {
02289 __result.__prepare(__overwriteWorkingMemory_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02290 IceInternal.BasicStream __os = __result.__os();
02291 __os.writeString(id);
02292 __os.writeString(subarch);
02293 __os.writeString(type);
02294 __os.writeString(component);
02295 __os.writeObject(entry);
02296 __os.writePendingObjects();
02297 __os.endWriteEncaps();
02298 __result.__send(true);
02299 }
02300 catch(Ice.LocalException __ex)
02301 {
02302 __result.__exceptionAsync(__ex);
02303 }
02304 return __result;
02305 }
02306
02307 public void end_overwriteWorkingMemory(Ice.AsyncResult __result)
02308 throws cast.DoesNotExistOnWMException,
02309 cast.UnknownSubarchitectureException
02310 {
02311 Ice.AsyncResult.__check(__result, this, __overwriteWorkingMemory_name);
02312 if(!__result.__wait())
02313 {
02314 try
02315 {
02316 __result.__throwUserException();
02317 }
02318 catch(cast.DoesNotExistOnWMException __ex)
02319 {
02320 throw __ex;
02321 }
02322 catch(cast.UnknownSubarchitectureException __ex)
02323 {
02324 throw __ex;
02325 }
02326 catch(Ice.UserException __ex)
02327 {
02328 throw new Ice.UnknownUserException(__ex.ice_name());
02329 }
02330 }
02331 IceInternal.BasicStream __is = __result.__is();
02332 __is.skipEmptyEncaps();
02333 }
02334
02335 public void
02336 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc)
02337 {
02338 receiveChangeEvent(wmc, null, false);
02339 }
02340
02341 public void
02342 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx)
02343 {
02344 receiveChangeEvent(wmc, __ctx, true);
02345 }
02346
02347 private void
02348 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02349 {
02350 if(__explicitCtx && __ctx == null)
02351 {
02352 __ctx = _emptyContext;
02353 }
02354 int __cnt = 0;
02355 while(true)
02356 {
02357 Ice._ObjectDel __delBase = null;
02358 try
02359 {
02360 __delBase = __getDelegate(false);
02361 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02362 __del.receiveChangeEvent(wmc, __ctx);
02363 return;
02364 }
02365 catch(IceInternal.LocalExceptionWrapper __ex)
02366 {
02367 __handleExceptionWrapper(__delBase, __ex);
02368 }
02369 catch(Ice.LocalException __ex)
02370 {
02371 __cnt = __handleException(__delBase, __ex, null, __cnt);
02372 }
02373 }
02374 }
02375
02376 private static final String __receiveChangeEvent_name = "receiveChangeEvent";
02377
02378 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc)
02379 {
02380 return begin_receiveChangeEvent(wmc, null, false, null);
02381 }
02382
02383 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx)
02384 {
02385 return begin_receiveChangeEvent(wmc, __ctx, true, null);
02386 }
02387
02388 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, Ice.Callback __cb)
02389 {
02390 return begin_receiveChangeEvent(wmc, null, false, __cb);
02391 }
02392
02393 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02394 {
02395 return begin_receiveChangeEvent(wmc, __ctx, true, __cb);
02396 }
02397
02398 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, Callback_WorkingMemory_receiveChangeEvent __cb)
02399 {
02400 return begin_receiveChangeEvent(wmc, null, false, __cb);
02401 }
02402
02403 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, Callback_WorkingMemory_receiveChangeEvent __cb)
02404 {
02405 return begin_receiveChangeEvent(wmc, __ctx, true, __cb);
02406 }
02407
02408 private Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02409 {
02410 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __receiveChangeEvent_name, __cb);
02411 try
02412 {
02413 __result.__prepare(__receiveChangeEvent_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02414 IceInternal.BasicStream __os = __result.__os();
02415 wmc.__write(__os);
02416 __os.endWriteEncaps();
02417 __result.__send(true);
02418 }
02419 catch(Ice.LocalException __ex)
02420 {
02421 __result.__exceptionAsync(__ex);
02422 }
02423 return __result;
02424 }
02425
02426 public void end_receiveChangeEvent(Ice.AsyncResult __result)
02427 {
02428 __end(__result, __receiveChangeEvent_name);
02429 }
02430
02431 public void
02432 registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority)
02433 {
02434 registerComponentFilter(filter, priority, null, false);
02435 }
02436
02437 public void
02438 registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, java.util.Map<String, String> __ctx)
02439 {
02440 registerComponentFilter(filter, priority, __ctx, true);
02441 }
02442
02443 private void
02444 registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02445 {
02446 if(__explicitCtx && __ctx == null)
02447 {
02448 __ctx = _emptyContext;
02449 }
02450 int __cnt = 0;
02451 while(true)
02452 {
02453 Ice._ObjectDel __delBase = null;
02454 try
02455 {
02456 __delBase = __getDelegate(false);
02457 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02458 __del.registerComponentFilter(filter, priority, __ctx);
02459 return;
02460 }
02461 catch(IceInternal.LocalExceptionWrapper __ex)
02462 {
02463 __handleExceptionWrapper(__delBase, __ex);
02464 }
02465 catch(Ice.LocalException __ex)
02466 {
02467 __cnt = __handleException(__delBase, __ex, null, __cnt);
02468 }
02469 }
02470 }
02471
02472 private static final String __registerComponentFilter_name = "registerComponentFilter";
02473
02474 public Ice.AsyncResult begin_registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority)
02475 {
02476 return begin_registerComponentFilter(filter, priority, null, false, null);
02477 }
02478
02479 public Ice.AsyncResult begin_registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, java.util.Map<String, String> __ctx)
02480 {
02481 return begin_registerComponentFilter(filter, priority, __ctx, true, null);
02482 }
02483
02484 public Ice.AsyncResult begin_registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, Ice.Callback __cb)
02485 {
02486 return begin_registerComponentFilter(filter, priority, null, false, __cb);
02487 }
02488
02489 public Ice.AsyncResult begin_registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02490 {
02491 return begin_registerComponentFilter(filter, priority, __ctx, true, __cb);
02492 }
02493
02494 public Ice.AsyncResult begin_registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, Callback_WorkingMemory_registerComponentFilter __cb)
02495 {
02496 return begin_registerComponentFilter(filter, priority, null, false, __cb);
02497 }
02498
02499 public Ice.AsyncResult begin_registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, java.util.Map<String, String> __ctx, Callback_WorkingMemory_registerComponentFilter __cb)
02500 {
02501 return begin_registerComponentFilter(filter, priority, __ctx, true, __cb);
02502 }
02503
02504 private Ice.AsyncResult begin_registerComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, int priority, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02505 {
02506 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __registerComponentFilter_name, __cb);
02507 try
02508 {
02509 __result.__prepare(__registerComponentFilter_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02510 IceInternal.BasicStream __os = __result.__os();
02511 filter.__write(__os);
02512 __os.writeInt(priority);
02513 __os.endWriteEncaps();
02514 __result.__send(true);
02515 }
02516 catch(Ice.LocalException __ex)
02517 {
02518 __result.__exceptionAsync(__ex);
02519 }
02520 return __result;
02521 }
02522
02523 public void end_registerComponentFilter(Ice.AsyncResult __result)
02524 {
02525 __end(__result, __registerComponentFilter_name);
02526 }
02527
02528 public void
02529 registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority)
02530 {
02531 registerWorkingMemoryFilter(filter, subarch, priority, null, false);
02532 }
02533
02534 public void
02535 registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, java.util.Map<String, String> __ctx)
02536 {
02537 registerWorkingMemoryFilter(filter, subarch, priority, __ctx, true);
02538 }
02539
02540 private void
02541 registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02542 {
02543 if(__explicitCtx && __ctx == null)
02544 {
02545 __ctx = _emptyContext;
02546 }
02547 int __cnt = 0;
02548 while(true)
02549 {
02550 Ice._ObjectDel __delBase = null;
02551 try
02552 {
02553 __delBase = __getDelegate(false);
02554 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02555 __del.registerWorkingMemoryFilter(filter, subarch, priority, __ctx);
02556 return;
02557 }
02558 catch(IceInternal.LocalExceptionWrapper __ex)
02559 {
02560 __handleExceptionWrapper(__delBase, __ex);
02561 }
02562 catch(Ice.LocalException __ex)
02563 {
02564 __cnt = __handleException(__delBase, __ex, null, __cnt);
02565 }
02566 }
02567 }
02568
02569 private static final String __registerWorkingMemoryFilter_name = "registerWorkingMemoryFilter";
02570
02571 public Ice.AsyncResult begin_registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority)
02572 {
02573 return begin_registerWorkingMemoryFilter(filter, subarch, priority, null, false, null);
02574 }
02575
02576 public Ice.AsyncResult begin_registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, java.util.Map<String, String> __ctx)
02577 {
02578 return begin_registerWorkingMemoryFilter(filter, subarch, priority, __ctx, true, null);
02579 }
02580
02581 public Ice.AsyncResult begin_registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, Ice.Callback __cb)
02582 {
02583 return begin_registerWorkingMemoryFilter(filter, subarch, priority, null, false, __cb);
02584 }
02585
02586 public Ice.AsyncResult begin_registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02587 {
02588 return begin_registerWorkingMemoryFilter(filter, subarch, priority, __ctx, true, __cb);
02589 }
02590
02591 public Ice.AsyncResult begin_registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, Callback_WorkingMemory_registerWorkingMemoryFilter __cb)
02592 {
02593 return begin_registerWorkingMemoryFilter(filter, subarch, priority, null, false, __cb);
02594 }
02595
02596 public Ice.AsyncResult begin_registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, java.util.Map<String, String> __ctx, Callback_WorkingMemory_registerWorkingMemoryFilter __cb)
02597 {
02598 return begin_registerWorkingMemoryFilter(filter, subarch, priority, __ctx, true, __cb);
02599 }
02600
02601 private Ice.AsyncResult begin_registerWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, String subarch, int priority, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02602 {
02603 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __registerWorkingMemoryFilter_name, __cb);
02604 try
02605 {
02606 __result.__prepare(__registerWorkingMemoryFilter_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02607 IceInternal.BasicStream __os = __result.__os();
02608 filter.__write(__os);
02609 __os.writeString(subarch);
02610 __os.writeInt(priority);
02611 __os.endWriteEncaps();
02612 __result.__send(true);
02613 }
02614 catch(Ice.LocalException __ex)
02615 {
02616 __result.__exceptionAsync(__ex);
02617 }
02618 return __result;
02619 }
02620
02621 public void end_registerWorkingMemoryFilter(Ice.AsyncResult __result)
02622 {
02623 __end(__result, __registerWorkingMemoryFilter_name);
02624 }
02625
02626 public void
02627 removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter)
02628 {
02629 removeComponentFilter(filter, null, false);
02630 }
02631
02632 public void
02633 removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx)
02634 {
02635 removeComponentFilter(filter, __ctx, true);
02636 }
02637
02638 private void
02639 removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02640 {
02641 if(__explicitCtx && __ctx == null)
02642 {
02643 __ctx = _emptyContext;
02644 }
02645 int __cnt = 0;
02646 while(true)
02647 {
02648 Ice._ObjectDel __delBase = null;
02649 try
02650 {
02651 __delBase = __getDelegate(false);
02652 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02653 __del.removeComponentFilter(filter, __ctx);
02654 return;
02655 }
02656 catch(IceInternal.LocalExceptionWrapper __ex)
02657 {
02658 __handleExceptionWrapper(__delBase, __ex);
02659 }
02660 catch(Ice.LocalException __ex)
02661 {
02662 __cnt = __handleException(__delBase, __ex, null, __cnt);
02663 }
02664 }
02665 }
02666
02667 private static final String __removeComponentFilter_name = "removeComponentFilter";
02668
02669 public Ice.AsyncResult begin_removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter)
02670 {
02671 return begin_removeComponentFilter(filter, null, false, null);
02672 }
02673
02674 public Ice.AsyncResult begin_removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx)
02675 {
02676 return begin_removeComponentFilter(filter, __ctx, true, null);
02677 }
02678
02679 public Ice.AsyncResult begin_removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, Ice.Callback __cb)
02680 {
02681 return begin_removeComponentFilter(filter, null, false, __cb);
02682 }
02683
02684 public Ice.AsyncResult begin_removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02685 {
02686 return begin_removeComponentFilter(filter, __ctx, true, __cb);
02687 }
02688
02689 public Ice.AsyncResult begin_removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, Callback_WorkingMemory_removeComponentFilter __cb)
02690 {
02691 return begin_removeComponentFilter(filter, null, false, __cb);
02692 }
02693
02694 public Ice.AsyncResult begin_removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, Callback_WorkingMemory_removeComponentFilter __cb)
02695 {
02696 return begin_removeComponentFilter(filter, __ctx, true, __cb);
02697 }
02698
02699 private Ice.AsyncResult begin_removeComponentFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02700 {
02701 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __removeComponentFilter_name, __cb);
02702 try
02703 {
02704 __result.__prepare(__removeComponentFilter_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02705 IceInternal.BasicStream __os = __result.__os();
02706 filter.__write(__os);
02707 __os.endWriteEncaps();
02708 __result.__send(true);
02709 }
02710 catch(Ice.LocalException __ex)
02711 {
02712 __result.__exceptionAsync(__ex);
02713 }
02714 return __result;
02715 }
02716
02717 public void end_removeComponentFilter(Ice.AsyncResult __result)
02718 {
02719 __end(__result, __removeComponentFilter_name);
02720 }
02721
02722 public void
02723 removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter)
02724 {
02725 removeWorkingMemoryFilter(filter, null, false);
02726 }
02727
02728 public void
02729 removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx)
02730 {
02731 removeWorkingMemoryFilter(filter, __ctx, true);
02732 }
02733
02734 private void
02735 removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02736 {
02737 if(__explicitCtx && __ctx == null)
02738 {
02739 __ctx = _emptyContext;
02740 }
02741 int __cnt = 0;
02742 while(true)
02743 {
02744 Ice._ObjectDel __delBase = null;
02745 try
02746 {
02747 __delBase = __getDelegate(false);
02748 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02749 __del.removeWorkingMemoryFilter(filter, __ctx);
02750 return;
02751 }
02752 catch(IceInternal.LocalExceptionWrapper __ex)
02753 {
02754 __handleExceptionWrapper(__delBase, __ex);
02755 }
02756 catch(Ice.LocalException __ex)
02757 {
02758 __cnt = __handleException(__delBase, __ex, null, __cnt);
02759 }
02760 }
02761 }
02762
02763 private static final String __removeWorkingMemoryFilter_name = "removeWorkingMemoryFilter";
02764
02765 public Ice.AsyncResult begin_removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter)
02766 {
02767 return begin_removeWorkingMemoryFilter(filter, null, false, null);
02768 }
02769
02770 public Ice.AsyncResult begin_removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx)
02771 {
02772 return begin_removeWorkingMemoryFilter(filter, __ctx, true, null);
02773 }
02774
02775 public Ice.AsyncResult begin_removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, Ice.Callback __cb)
02776 {
02777 return begin_removeWorkingMemoryFilter(filter, null, false, __cb);
02778 }
02779
02780 public Ice.AsyncResult begin_removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02781 {
02782 return begin_removeWorkingMemoryFilter(filter, __ctx, true, __cb);
02783 }
02784
02785 public Ice.AsyncResult begin_removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, Callback_WorkingMemory_removeWorkingMemoryFilter __cb)
02786 {
02787 return begin_removeWorkingMemoryFilter(filter, null, false, __cb);
02788 }
02789
02790 public Ice.AsyncResult begin_removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, Callback_WorkingMemory_removeWorkingMemoryFilter __cb)
02791 {
02792 return begin_removeWorkingMemoryFilter(filter, __ctx, true, __cb);
02793 }
02794
02795 private Ice.AsyncResult begin_removeWorkingMemoryFilter(cast.cdl.WorkingMemoryChangeFilter filter, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02796 {
02797 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __removeWorkingMemoryFilter_name, __cb);
02798 try
02799 {
02800 __result.__prepare(__removeWorkingMemoryFilter_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02801 IceInternal.BasicStream __os = __result.__os();
02802 filter.__write(__os);
02803 __os.endWriteEncaps();
02804 __result.__send(true);
02805 }
02806 catch(Ice.LocalException __ex)
02807 {
02808 __result.__exceptionAsync(__ex);
02809 }
02810 return __result;
02811 }
02812
02813 public void end_removeWorkingMemoryFilter(Ice.AsyncResult __result)
02814 {
02815 __end(__result, __removeWorkingMemoryFilter_name);
02816 }
02817
02818 public void
02819 setWorkingMemory(WorkingMemoryPrx wm, String subarch)
02820 {
02821 setWorkingMemory(wm, subarch, null, false);
02822 }
02823
02824 public void
02825 setWorkingMemory(WorkingMemoryPrx wm, String subarch, java.util.Map<String, String> __ctx)
02826 {
02827 setWorkingMemory(wm, subarch, __ctx, true);
02828 }
02829
02830 private void
02831 setWorkingMemory(WorkingMemoryPrx wm, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02832 {
02833 if(__explicitCtx && __ctx == null)
02834 {
02835 __ctx = _emptyContext;
02836 }
02837 int __cnt = 0;
02838 while(true)
02839 {
02840 Ice._ObjectDel __delBase = null;
02841 try
02842 {
02843 __delBase = __getDelegate(false);
02844 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02845 __del.setWorkingMemory(wm, subarch, __ctx);
02846 return;
02847 }
02848 catch(IceInternal.LocalExceptionWrapper __ex)
02849 {
02850 __handleExceptionWrapper(__delBase, __ex);
02851 }
02852 catch(Ice.LocalException __ex)
02853 {
02854 __cnt = __handleException(__delBase, __ex, null, __cnt);
02855 }
02856 }
02857 }
02858
02859 private static final String __setWorkingMemory_name = "setWorkingMemory";
02860
02861 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, String subarch)
02862 {
02863 return begin_setWorkingMemory(wm, subarch, null, false, null);
02864 }
02865
02866 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, String subarch, java.util.Map<String, String> __ctx)
02867 {
02868 return begin_setWorkingMemory(wm, subarch, __ctx, true, null);
02869 }
02870
02871 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, String subarch, Ice.Callback __cb)
02872 {
02873 return begin_setWorkingMemory(wm, subarch, null, false, __cb);
02874 }
02875
02876 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, String subarch, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02877 {
02878 return begin_setWorkingMemory(wm, subarch, __ctx, true, __cb);
02879 }
02880
02881 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, String subarch, Callback_WorkingMemory_setWorkingMemory __cb)
02882 {
02883 return begin_setWorkingMemory(wm, subarch, null, false, __cb);
02884 }
02885
02886 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, String subarch, java.util.Map<String, String> __ctx, Callback_WorkingMemory_setWorkingMemory __cb)
02887 {
02888 return begin_setWorkingMemory(wm, subarch, __ctx, true, __cb);
02889 }
02890
02891 private Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, String subarch, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02892 {
02893 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __setWorkingMemory_name, __cb);
02894 try
02895 {
02896 __result.__prepare(__setWorkingMemory_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
02897 IceInternal.BasicStream __os = __result.__os();
02898 WorkingMemoryPrxHelper.__write(__os, wm);
02899 __os.writeString(subarch);
02900 __os.endWriteEncaps();
02901 __result.__send(true);
02902 }
02903 catch(Ice.LocalException __ex)
02904 {
02905 __result.__exceptionAsync(__ex);
02906 }
02907 return __result;
02908 }
02909
02910 public void end_setWorkingMemory(Ice.AsyncResult __result)
02911 {
02912 __end(__result, __setWorkingMemory_name);
02913 }
02914
02915 public boolean
02916 tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
02917 throws cast.DoesNotExistOnWMException,
02918 cast.UnknownSubarchitectureException
02919 {
02920 return tryLockEntry(id, subarch, component, permissions, null, false);
02921 }
02922
02923 public boolean
02924 tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx)
02925 throws cast.DoesNotExistOnWMException,
02926 cast.UnknownSubarchitectureException
02927 {
02928 return tryLockEntry(id, subarch, component, permissions, __ctx, true);
02929 }
02930
02931 private boolean
02932 tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, boolean __explicitCtx)
02933 throws cast.DoesNotExistOnWMException,
02934 cast.UnknownSubarchitectureException
02935 {
02936 if(__explicitCtx && __ctx == null)
02937 {
02938 __ctx = _emptyContext;
02939 }
02940 int __cnt = 0;
02941 while(true)
02942 {
02943 Ice._ObjectDel __delBase = null;
02944 try
02945 {
02946 __checkTwowayOnly("tryLockEntry");
02947 __delBase = __getDelegate(false);
02948 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
02949 return __del.tryLockEntry(id, subarch, component, permissions, __ctx);
02950 }
02951 catch(IceInternal.LocalExceptionWrapper __ex)
02952 {
02953 __handleExceptionWrapper(__delBase, __ex);
02954 }
02955 catch(Ice.LocalException __ex)
02956 {
02957 __cnt = __handleException(__delBase, __ex, null, __cnt);
02958 }
02959 }
02960 }
02961
02962 private static final String __tryLockEntry_name = "tryLockEntry";
02963
02964 public Ice.AsyncResult begin_tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions)
02965 {
02966 return begin_tryLockEntry(id, subarch, component, permissions, null, false, null);
02967 }
02968
02969 public Ice.AsyncResult begin_tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx)
02970 {
02971 return begin_tryLockEntry(id, subarch, component, permissions, __ctx, true, null);
02972 }
02973
02974 public Ice.AsyncResult begin_tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, Ice.Callback __cb)
02975 {
02976 return begin_tryLockEntry(id, subarch, component, permissions, null, false, __cb);
02977 }
02978
02979 public Ice.AsyncResult begin_tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, Ice.Callback __cb)
02980 {
02981 return begin_tryLockEntry(id, subarch, component, permissions, __ctx, true, __cb);
02982 }
02983
02984 public Ice.AsyncResult begin_tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, Callback_WorkingMemory_tryLockEntry __cb)
02985 {
02986 return begin_tryLockEntry(id, subarch, component, permissions, null, false, __cb);
02987 }
02988
02989 public Ice.AsyncResult begin_tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, Callback_WorkingMemory_tryLockEntry __cb)
02990 {
02991 return begin_tryLockEntry(id, subarch, component, permissions, __ctx, true, __cb);
02992 }
02993
02994 private Ice.AsyncResult begin_tryLockEntry(String id, String subarch, String component, cast.cdl.WorkingMemoryPermissions permissions, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
02995 {
02996 __checkAsyncTwowayOnly(__tryLockEntry_name);
02997 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __tryLockEntry_name, __cb);
02998 try
02999 {
03000 __result.__prepare(__tryLockEntry_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
03001 IceInternal.BasicStream __os = __result.__os();
03002 __os.writeString(id);
03003 __os.writeString(subarch);
03004 __os.writeString(component);
03005 permissions.__write(__os);
03006 __os.endWriteEncaps();
03007 __result.__send(true);
03008 }
03009 catch(Ice.LocalException __ex)
03010 {
03011 __result.__exceptionAsync(__ex);
03012 }
03013 return __result;
03014 }
03015
03016 public boolean end_tryLockEntry(Ice.AsyncResult __result)
03017 throws cast.DoesNotExistOnWMException,
03018 cast.UnknownSubarchitectureException
03019 {
03020 Ice.AsyncResult.__check(__result, this, __tryLockEntry_name);
03021 if(!__result.__wait())
03022 {
03023 try
03024 {
03025 __result.__throwUserException();
03026 }
03027 catch(cast.DoesNotExistOnWMException __ex)
03028 {
03029 throw __ex;
03030 }
03031 catch(cast.UnknownSubarchitectureException __ex)
03032 {
03033 throw __ex;
03034 }
03035 catch(Ice.UserException __ex)
03036 {
03037 throw new Ice.UnknownUserException(__ex.ice_name());
03038 }
03039 }
03040 boolean __ret;
03041 IceInternal.BasicStream __is = __result.__is();
03042 __is.startReadEncaps();
03043 __ret = __is.readBool();
03044 __is.endReadEncaps();
03045 return __ret;
03046 }
03047
03048 public void
03049 unlockEntry(String id, String subarch, String component)
03050 throws cast.ConsistencyException,
03051 cast.DoesNotExistOnWMException,
03052 cast.UnknownSubarchitectureException
03053 {
03054 unlockEntry(id, subarch, component, null, false);
03055 }
03056
03057 public void
03058 unlockEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx)
03059 throws cast.ConsistencyException,
03060 cast.DoesNotExistOnWMException,
03061 cast.UnknownSubarchitectureException
03062 {
03063 unlockEntry(id, subarch, component, __ctx, true);
03064 }
03065
03066 private void
03067 unlockEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, boolean __explicitCtx)
03068 throws cast.ConsistencyException,
03069 cast.DoesNotExistOnWMException,
03070 cast.UnknownSubarchitectureException
03071 {
03072 if(__explicitCtx && __ctx == null)
03073 {
03074 __ctx = _emptyContext;
03075 }
03076 int __cnt = 0;
03077 while(true)
03078 {
03079 Ice._ObjectDel __delBase = null;
03080 try
03081 {
03082 __checkTwowayOnly("unlockEntry");
03083 __delBase = __getDelegate(false);
03084 _WorkingMemoryDel __del = (_WorkingMemoryDel)__delBase;
03085 __del.unlockEntry(id, subarch, component, __ctx);
03086 return;
03087 }
03088 catch(IceInternal.LocalExceptionWrapper __ex)
03089 {
03090 __handleExceptionWrapper(__delBase, __ex);
03091 }
03092 catch(Ice.LocalException __ex)
03093 {
03094 __cnt = __handleException(__delBase, __ex, null, __cnt);
03095 }
03096 }
03097 }
03098
03099 private static final String __unlockEntry_name = "unlockEntry";
03100
03101 public Ice.AsyncResult begin_unlockEntry(String id, String subarch, String component)
03102 {
03103 return begin_unlockEntry(id, subarch, component, null, false, null);
03104 }
03105
03106 public Ice.AsyncResult begin_unlockEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx)
03107 {
03108 return begin_unlockEntry(id, subarch, component, __ctx, true, null);
03109 }
03110
03111 public Ice.AsyncResult begin_unlockEntry(String id, String subarch, String component, Ice.Callback __cb)
03112 {
03113 return begin_unlockEntry(id, subarch, component, null, false, __cb);
03114 }
03115
03116 public Ice.AsyncResult begin_unlockEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, Ice.Callback __cb)
03117 {
03118 return begin_unlockEntry(id, subarch, component, __ctx, true, __cb);
03119 }
03120
03121 public Ice.AsyncResult begin_unlockEntry(String id, String subarch, String component, Callback_WorkingMemory_unlockEntry __cb)
03122 {
03123 return begin_unlockEntry(id, subarch, component, null, false, __cb);
03124 }
03125
03126 public Ice.AsyncResult begin_unlockEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, Callback_WorkingMemory_unlockEntry __cb)
03127 {
03128 return begin_unlockEntry(id, subarch, component, __ctx, true, __cb);
03129 }
03130
03131 private Ice.AsyncResult begin_unlockEntry(String id, String subarch, String component, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
03132 {
03133 __checkAsyncTwowayOnly(__unlockEntry_name);
03134 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __unlockEntry_name, __cb);
03135 try
03136 {
03137 __result.__prepare(__unlockEntry_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
03138 IceInternal.BasicStream __os = __result.__os();
03139 __os.writeString(id);
03140 __os.writeString(subarch);
03141 __os.writeString(component);
03142 __os.endWriteEncaps();
03143 __result.__send(true);
03144 }
03145 catch(Ice.LocalException __ex)
03146 {
03147 __result.__exceptionAsync(__ex);
03148 }
03149 return __result;
03150 }
03151
03152 public void end_unlockEntry(Ice.AsyncResult __result)
03153 throws cast.ConsistencyException,
03154 cast.DoesNotExistOnWMException,
03155 cast.UnknownSubarchitectureException
03156 {
03157 Ice.AsyncResult.__check(__result, this, __unlockEntry_name);
03158 if(!__result.__wait())
03159 {
03160 try
03161 {
03162 __result.__throwUserException();
03163 }
03164 catch(cast.ConsistencyException __ex)
03165 {
03166 throw __ex;
03167 }
03168 catch(cast.DoesNotExistOnWMException __ex)
03169 {
03170 throw __ex;
03171 }
03172 catch(cast.UnknownSubarchitectureException __ex)
03173 {
03174 throw __ex;
03175 }
03176 catch(Ice.UserException __ex)
03177 {
03178 throw new Ice.UnknownUserException(__ex.ice_name());
03179 }
03180 }
03181 IceInternal.BasicStream __is = __result.__is();
03182 __is.skipEmptyEncaps();
03183 }
03184
03185 public static WorkingMemoryPrx
03186 checkedCast(Ice.ObjectPrx __obj)
03187 {
03188 WorkingMemoryPrx __d = null;
03189 if(__obj != null)
03190 {
03191 try
03192 {
03193 __d = (WorkingMemoryPrx)__obj;
03194 }
03195 catch(ClassCastException ex)
03196 {
03197 if(__obj.ice_isA("::cast::interfaces::WorkingMemory"))
03198 {
03199 WorkingMemoryPrxHelper __h = new WorkingMemoryPrxHelper();
03200 __h.__copyFrom(__obj);
03201 __d = __h;
03202 }
03203 }
03204 }
03205 return __d;
03206 }
03207
03208 public static WorkingMemoryPrx
03209 checkedCast(Ice.ObjectPrx __obj, java.util.Map<String, String> __ctx)
03210 {
03211 WorkingMemoryPrx __d = null;
03212 if(__obj != null)
03213 {
03214 try
03215 {
03216 __d = (WorkingMemoryPrx)__obj;
03217 }
03218 catch(ClassCastException ex)
03219 {
03220 if(__obj.ice_isA("::cast::interfaces::WorkingMemory", __ctx))
03221 {
03222 WorkingMemoryPrxHelper __h = new WorkingMemoryPrxHelper();
03223 __h.__copyFrom(__obj);
03224 __d = __h;
03225 }
03226 }
03227 }
03228 return __d;
03229 }
03230
03231 public static WorkingMemoryPrx
03232 checkedCast(Ice.ObjectPrx __obj, String __facet)
03233 {
03234 WorkingMemoryPrx __d = null;
03235 if(__obj != null)
03236 {
03237 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
03238 try
03239 {
03240 if(__bb.ice_isA("::cast::interfaces::WorkingMemory"))
03241 {
03242 WorkingMemoryPrxHelper __h = new WorkingMemoryPrxHelper();
03243 __h.__copyFrom(__bb);
03244 __d = __h;
03245 }
03246 }
03247 catch(Ice.FacetNotExistException ex)
03248 {
03249 }
03250 }
03251 return __d;
03252 }
03253
03254 public static WorkingMemoryPrx
03255 checkedCast(Ice.ObjectPrx __obj, String __facet, java.util.Map<String, String> __ctx)
03256 {
03257 WorkingMemoryPrx __d = null;
03258 if(__obj != null)
03259 {
03260 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
03261 try
03262 {
03263 if(__bb.ice_isA("::cast::interfaces::WorkingMemory", __ctx))
03264 {
03265 WorkingMemoryPrxHelper __h = new WorkingMemoryPrxHelper();
03266 __h.__copyFrom(__bb);
03267 __d = __h;
03268 }
03269 }
03270 catch(Ice.FacetNotExistException ex)
03271 {
03272 }
03273 }
03274 return __d;
03275 }
03276
03277 public static WorkingMemoryPrx
03278 uncheckedCast(Ice.ObjectPrx __obj)
03279 {
03280 WorkingMemoryPrx __d = null;
03281 if(__obj != null)
03282 {
03283 try
03284 {
03285 __d = (WorkingMemoryPrx)__obj;
03286 }
03287 catch(ClassCastException ex)
03288 {
03289 WorkingMemoryPrxHelper __h = new WorkingMemoryPrxHelper();
03290 __h.__copyFrom(__obj);
03291 __d = __h;
03292 }
03293 }
03294 return __d;
03295 }
03296
03297 public static WorkingMemoryPrx
03298 uncheckedCast(Ice.ObjectPrx __obj, String __facet)
03299 {
03300 WorkingMemoryPrx __d = null;
03301 if(__obj != null)
03302 {
03303 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
03304 WorkingMemoryPrxHelper __h = new WorkingMemoryPrxHelper();
03305 __h.__copyFrom(__bb);
03306 __d = __h;
03307 }
03308 return __d;
03309 }
03310
03311 protected Ice._ObjectDelM
03312 __createDelegateM()
03313 {
03314 return new _WorkingMemoryDelM();
03315 }
03316
03317 protected Ice._ObjectDelD
03318 __createDelegateD()
03319 {
03320 return new _WorkingMemoryDelD();
03321 }
03322
03323 public static void
03324 __write(IceInternal.BasicStream __os, WorkingMemoryPrx v)
03325 {
03326 __os.writeProxy(v);
03327 }
03328
03329 public static WorkingMemoryPrx
03330 __read(IceInternal.BasicStream __is)
03331 {
03332 Ice.ObjectPrx proxy = __is.readProxy();
03333 if(proxy != null)
03334 {
03335 WorkingMemoryPrxHelper result = new WorkingMemoryPrxHelper();
03336 result.__copyFrom(proxy);
03337 return result;
03338 }
03339 return null;
03340 }
03341
03342 public static void
03343 write(Ice.OutputStream __outS, WorkingMemoryPrx v)
03344 {
03345 __outS.writeProxy(v);
03346 }
03347
03348 public static WorkingMemoryPrx
03349 read(Ice.InputStream __inS)
03350 {
03351 Ice.ObjectPrx proxy = __inS.readProxy();
03352 if(proxy != null)
03353 {
03354 WorkingMemoryPrxHelper result = new WorkingMemoryPrxHelper();
03355 result.__copyFrom(proxy);
03356 return result;
03357 }
03358 return null;
03359 }
03360 }