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 TaskManagerPrxHelper extends Ice.ObjectPrxHelperBase implements TaskManagerPrx
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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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 _TaskManagerDel __del = (_TaskManagerDel)__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
01076 public void
01077 addManagedComponent(ManagedComponentPrx comp)
01078 {
01079 addManagedComponent(comp, null, false);
01080 }
01081
01086 public void
01087 addManagedComponent(ManagedComponentPrx comp, java.util.Map<String, String> __ctx)
01088 {
01089 addManagedComponent(comp, __ctx, true);
01090 }
01091
01092 private void
01093 addManagedComponent(ManagedComponentPrx comp, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01094 {
01095 if(__explicitCtx && __ctx == null)
01096 {
01097 __ctx = _emptyContext;
01098 }
01099 int __cnt = 0;
01100 while(true)
01101 {
01102 Ice._ObjectDel __delBase = null;
01103 try
01104 {
01105 __delBase = __getDelegate(false);
01106 _TaskManagerDel __del = (_TaskManagerDel)__delBase;
01107 __del.addManagedComponent(comp, __ctx);
01108 return;
01109 }
01110 catch(IceInternal.LocalExceptionWrapper __ex)
01111 {
01112 __handleExceptionWrapper(__delBase, __ex);
01113 }
01114 catch(Ice.LocalException __ex)
01115 {
01116 __cnt = __handleException(__delBase, __ex, null, __cnt);
01117 }
01118 }
01119 }
01120
01121 private static final String __addManagedComponent_name = "addManagedComponent";
01122
01127 public Ice.AsyncResult begin_addManagedComponent(ManagedComponentPrx comp)
01128 {
01129 return begin_addManagedComponent(comp, null, false, null);
01130 }
01131
01137 public Ice.AsyncResult begin_addManagedComponent(ManagedComponentPrx comp, java.util.Map<String, String> __ctx)
01138 {
01139 return begin_addManagedComponent(comp, __ctx, true, null);
01140 }
01141
01146 public Ice.AsyncResult begin_addManagedComponent(ManagedComponentPrx comp, Ice.Callback __cb)
01147 {
01148 return begin_addManagedComponent(comp, null, false, __cb);
01149 }
01150
01156 public Ice.AsyncResult begin_addManagedComponent(ManagedComponentPrx comp, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01157 {
01158 return begin_addManagedComponent(comp, __ctx, true, __cb);
01159 }
01160
01165 public Ice.AsyncResult begin_addManagedComponent(ManagedComponentPrx comp, Callback_TaskManager_addManagedComponent __cb)
01166 {
01167 return begin_addManagedComponent(comp, null, false, __cb);
01168 }
01169
01175 public Ice.AsyncResult begin_addManagedComponent(ManagedComponentPrx comp, java.util.Map<String, String> __ctx, Callback_TaskManager_addManagedComponent __cb)
01176 {
01177 return begin_addManagedComponent(comp, __ctx, true, __cb);
01178 }
01179
01180 private Ice.AsyncResult begin_addManagedComponent(ManagedComponentPrx comp, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01181 {
01182 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __addManagedComponent_name, __cb);
01183 try
01184 {
01185 __result.__prepare(__addManagedComponent_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01186 IceInternal.BasicStream __os = __result.__os();
01187 ManagedComponentPrxHelper.__write(__os, comp);
01188 __os.endWriteEncaps();
01189 __result.__send(true);
01190 }
01191 catch(Ice.LocalException __ex)
01192 {
01193 __result.__exceptionAsync(__ex);
01194 }
01195 return __result;
01196 }
01197
01202 public void end_addManagedComponent(Ice.AsyncResult __result)
01203 {
01204 __end(__result, __addManagedComponent_name);
01205 }
01206
01210 public void
01211 proposeTask(String component, String taskID, String taskName)
01212 {
01213 proposeTask(component, taskID, taskName, null, false);
01214 }
01215
01220 public void
01221 proposeTask(String component, String taskID, String taskName, java.util.Map<String, String> __ctx)
01222 {
01223 proposeTask(component, taskID, taskName, __ctx, true);
01224 }
01225
01226 private void
01227 proposeTask(String component, String taskID, String taskName, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01228 {
01229 if(__explicitCtx && __ctx == null)
01230 {
01231 __ctx = _emptyContext;
01232 }
01233 int __cnt = 0;
01234 while(true)
01235 {
01236 Ice._ObjectDel __delBase = null;
01237 try
01238 {
01239 __delBase = __getDelegate(false);
01240 _TaskManagerDel __del = (_TaskManagerDel)__delBase;
01241 __del.proposeTask(component, taskID, taskName, __ctx);
01242 return;
01243 }
01244 catch(IceInternal.LocalExceptionWrapper __ex)
01245 {
01246 __handleExceptionWrapper(__delBase, __ex);
01247 }
01248 catch(Ice.LocalException __ex)
01249 {
01250 __cnt = __handleException(__delBase, __ex, null, __cnt);
01251 }
01252 }
01253 }
01254
01255 private static final String __proposeTask_name = "proposeTask";
01256
01261 public Ice.AsyncResult begin_proposeTask(String component, String taskID, String taskName)
01262 {
01263 return begin_proposeTask(component, taskID, taskName, null, false, null);
01264 }
01265
01271 public Ice.AsyncResult begin_proposeTask(String component, String taskID, String taskName, java.util.Map<String, String> __ctx)
01272 {
01273 return begin_proposeTask(component, taskID, taskName, __ctx, true, null);
01274 }
01275
01280 public Ice.AsyncResult begin_proposeTask(String component, String taskID, String taskName, Ice.Callback __cb)
01281 {
01282 return begin_proposeTask(component, taskID, taskName, null, false, __cb);
01283 }
01284
01290 public Ice.AsyncResult begin_proposeTask(String component, String taskID, String taskName, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01291 {
01292 return begin_proposeTask(component, taskID, taskName, __ctx, true, __cb);
01293 }
01294
01299 public Ice.AsyncResult begin_proposeTask(String component, String taskID, String taskName, Callback_TaskManager_proposeTask __cb)
01300 {
01301 return begin_proposeTask(component, taskID, taskName, null, false, __cb);
01302 }
01303
01309 public Ice.AsyncResult begin_proposeTask(String component, String taskID, String taskName, java.util.Map<String, String> __ctx, Callback_TaskManager_proposeTask __cb)
01310 {
01311 return begin_proposeTask(component, taskID, taskName, __ctx, true, __cb);
01312 }
01313
01314 private Ice.AsyncResult begin_proposeTask(String component, String taskID, String taskName, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01315 {
01316 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __proposeTask_name, __cb);
01317 try
01318 {
01319 __result.__prepare(__proposeTask_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01320 IceInternal.BasicStream __os = __result.__os();
01321 __os.writeString(component);
01322 __os.writeString(taskID);
01323 __os.writeString(taskName);
01324 __os.endWriteEncaps();
01325 __result.__send(true);
01326 }
01327 catch(Ice.LocalException __ex)
01328 {
01329 __result.__exceptionAsync(__ex);
01330 }
01331 return __result;
01332 }
01333
01338 public void end_proposeTask(Ice.AsyncResult __result)
01339 {
01340 __end(__result, __proposeTask_name);
01341 }
01342
01346 public void
01347 retractTask(String component, String taskID)
01348 {
01349 retractTask(component, taskID, null, false);
01350 }
01351
01356 public void
01357 retractTask(String component, String taskID, java.util.Map<String, String> __ctx)
01358 {
01359 retractTask(component, taskID, __ctx, true);
01360 }
01361
01362 private void
01363 retractTask(String component, String taskID, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01364 {
01365 if(__explicitCtx && __ctx == null)
01366 {
01367 __ctx = _emptyContext;
01368 }
01369 int __cnt = 0;
01370 while(true)
01371 {
01372 Ice._ObjectDel __delBase = null;
01373 try
01374 {
01375 __delBase = __getDelegate(false);
01376 _TaskManagerDel __del = (_TaskManagerDel)__delBase;
01377 __del.retractTask(component, taskID, __ctx);
01378 return;
01379 }
01380 catch(IceInternal.LocalExceptionWrapper __ex)
01381 {
01382 __handleExceptionWrapper(__delBase, __ex);
01383 }
01384 catch(Ice.LocalException __ex)
01385 {
01386 __cnt = __handleException(__delBase, __ex, null, __cnt);
01387 }
01388 }
01389 }
01390
01391 private static final String __retractTask_name = "retractTask";
01392
01397 public Ice.AsyncResult begin_retractTask(String component, String taskID)
01398 {
01399 return begin_retractTask(component, taskID, null, false, null);
01400 }
01401
01407 public Ice.AsyncResult begin_retractTask(String component, String taskID, java.util.Map<String, String> __ctx)
01408 {
01409 return begin_retractTask(component, taskID, __ctx, true, null);
01410 }
01411
01416 public Ice.AsyncResult begin_retractTask(String component, String taskID, Ice.Callback __cb)
01417 {
01418 return begin_retractTask(component, taskID, null, false, __cb);
01419 }
01420
01426 public Ice.AsyncResult begin_retractTask(String component, String taskID, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01427 {
01428 return begin_retractTask(component, taskID, __ctx, true, __cb);
01429 }
01430
01435 public Ice.AsyncResult begin_retractTask(String component, String taskID, Callback_TaskManager_retractTask __cb)
01436 {
01437 return begin_retractTask(component, taskID, null, false, __cb);
01438 }
01439
01445 public Ice.AsyncResult begin_retractTask(String component, String taskID, java.util.Map<String, String> __ctx, Callback_TaskManager_retractTask __cb)
01446 {
01447 return begin_retractTask(component, taskID, __ctx, true, __cb);
01448 }
01449
01450 private Ice.AsyncResult begin_retractTask(String component, String taskID, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01451 {
01452 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __retractTask_name, __cb);
01453 try
01454 {
01455 __result.__prepare(__retractTask_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01456 IceInternal.BasicStream __os = __result.__os();
01457 __os.writeString(component);
01458 __os.writeString(taskID);
01459 __os.endWriteEncaps();
01460 __result.__send(true);
01461 }
01462 catch(Ice.LocalException __ex)
01463 {
01464 __result.__exceptionAsync(__ex);
01465 }
01466 return __result;
01467 }
01468
01473 public void end_retractTask(Ice.AsyncResult __result)
01474 {
01475 __end(__result, __retractTask_name);
01476 }
01477
01481 public void
01482 taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome)
01483 {
01484 taskComplete(component, taskID, outcome, null, false);
01485 }
01486
01491 public void
01492 taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, java.util.Map<String, String> __ctx)
01493 {
01494 taskComplete(component, taskID, outcome, __ctx, true);
01495 }
01496
01497 private void
01498 taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01499 {
01500 if(__explicitCtx && __ctx == null)
01501 {
01502 __ctx = _emptyContext;
01503 }
01504 int __cnt = 0;
01505 while(true)
01506 {
01507 Ice._ObjectDel __delBase = null;
01508 try
01509 {
01510 __delBase = __getDelegate(false);
01511 _TaskManagerDel __del = (_TaskManagerDel)__delBase;
01512 __del.taskComplete(component, taskID, outcome, __ctx);
01513 return;
01514 }
01515 catch(IceInternal.LocalExceptionWrapper __ex)
01516 {
01517 __handleExceptionWrapper(__delBase, __ex);
01518 }
01519 catch(Ice.LocalException __ex)
01520 {
01521 __cnt = __handleException(__delBase, __ex, null, __cnt);
01522 }
01523 }
01524 }
01525
01526 private static final String __taskComplete_name = "taskComplete";
01527
01532 public Ice.AsyncResult begin_taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome)
01533 {
01534 return begin_taskComplete(component, taskID, outcome, null, false, null);
01535 }
01536
01542 public Ice.AsyncResult begin_taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, java.util.Map<String, String> __ctx)
01543 {
01544 return begin_taskComplete(component, taskID, outcome, __ctx, true, null);
01545 }
01546
01551 public Ice.AsyncResult begin_taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, Ice.Callback __cb)
01552 {
01553 return begin_taskComplete(component, taskID, outcome, null, false, __cb);
01554 }
01555
01561 public Ice.AsyncResult begin_taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01562 {
01563 return begin_taskComplete(component, taskID, outcome, __ctx, true, __cb);
01564 }
01565
01570 public Ice.AsyncResult begin_taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, Callback_TaskManager_taskComplete __cb)
01571 {
01572 return begin_taskComplete(component, taskID, outcome, null, false, __cb);
01573 }
01574
01580 public Ice.AsyncResult begin_taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, java.util.Map<String, String> __ctx, Callback_TaskManager_taskComplete __cb)
01581 {
01582 return begin_taskComplete(component, taskID, outcome, __ctx, true, __cb);
01583 }
01584
01585 private Ice.AsyncResult begin_taskComplete(String component, String taskID, cast.cdl.TaskOutcome outcome, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01586 {
01587 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __taskComplete_name, __cb);
01588 try
01589 {
01590 __result.__prepare(__taskComplete_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01591 IceInternal.BasicStream __os = __result.__os();
01592 __os.writeString(component);
01593 __os.writeString(taskID);
01594 outcome.__write(__os);
01595 __os.endWriteEncaps();
01596 __result.__send(true);
01597 }
01598 catch(Ice.LocalException __ex)
01599 {
01600 __result.__exceptionAsync(__ex);
01601 }
01602 return __result;
01603 }
01604
01609 public void end_taskComplete(Ice.AsyncResult __result)
01610 {
01611 __end(__result, __taskComplete_name);
01612 }
01613
01614 public void
01615 setWorkingMemory(WorkingMemoryPrx wm)
01616 {
01617 setWorkingMemory(wm, null, false);
01618 }
01619
01620 public void
01621 setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx)
01622 {
01623 setWorkingMemory(wm, __ctx, true);
01624 }
01625
01626 private void
01627 setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01628 {
01629 if(__explicitCtx && __ctx == null)
01630 {
01631 __ctx = _emptyContext;
01632 }
01633 int __cnt = 0;
01634 while(true)
01635 {
01636 Ice._ObjectDel __delBase = null;
01637 try
01638 {
01639 __delBase = __getDelegate(false);
01640 _TaskManagerDel __del = (_TaskManagerDel)__delBase;
01641 __del.setWorkingMemory(wm, __ctx);
01642 return;
01643 }
01644 catch(IceInternal.LocalExceptionWrapper __ex)
01645 {
01646 __handleExceptionWrapper(__delBase, __ex);
01647 }
01648 catch(Ice.LocalException __ex)
01649 {
01650 __cnt = __handleException(__delBase, __ex, null, __cnt);
01651 }
01652 }
01653 }
01654
01655 private static final String __setWorkingMemory_name = "setWorkingMemory";
01656
01657 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm)
01658 {
01659 return begin_setWorkingMemory(wm, null, false, null);
01660 }
01661
01662 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx)
01663 {
01664 return begin_setWorkingMemory(wm, __ctx, true, null);
01665 }
01666
01667 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, Ice.Callback __cb)
01668 {
01669 return begin_setWorkingMemory(wm, null, false, __cb);
01670 }
01671
01672 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01673 {
01674 return begin_setWorkingMemory(wm, __ctx, true, __cb);
01675 }
01676
01677 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, Callback_WorkingMemoryAttachedComponent_setWorkingMemory __cb)
01678 {
01679 return begin_setWorkingMemory(wm, null, false, __cb);
01680 }
01681
01682 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, Callback_WorkingMemoryAttachedComponent_setWorkingMemory __cb)
01683 {
01684 return begin_setWorkingMemory(wm, __ctx, true, __cb);
01685 }
01686
01687 private Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01688 {
01689 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __setWorkingMemory_name, __cb);
01690 try
01691 {
01692 __result.__prepare(__setWorkingMemory_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01693 IceInternal.BasicStream __os = __result.__os();
01694 WorkingMemoryPrxHelper.__write(__os, wm);
01695 __os.endWriteEncaps();
01696 __result.__send(true);
01697 }
01698 catch(Ice.LocalException __ex)
01699 {
01700 __result.__exceptionAsync(__ex);
01701 }
01702 return __result;
01703 }
01704
01705 public void end_setWorkingMemory(Ice.AsyncResult __result)
01706 {
01707 __end(__result, __setWorkingMemory_name);
01708 }
01709
01710 public void
01711 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc)
01712 {
01713 receiveChangeEvent(wmc, null, false);
01714 }
01715
01716 public void
01717 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx)
01718 {
01719 receiveChangeEvent(wmc, __ctx, true);
01720 }
01721
01722 private void
01723 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01724 {
01725 if(__explicitCtx && __ctx == null)
01726 {
01727 __ctx = _emptyContext;
01728 }
01729 int __cnt = 0;
01730 while(true)
01731 {
01732 Ice._ObjectDel __delBase = null;
01733 try
01734 {
01735 __delBase = __getDelegate(false);
01736 _TaskManagerDel __del = (_TaskManagerDel)__delBase;
01737 __del.receiveChangeEvent(wmc, __ctx);
01738 return;
01739 }
01740 catch(IceInternal.LocalExceptionWrapper __ex)
01741 {
01742 __handleExceptionWrapper(__delBase, __ex);
01743 }
01744 catch(Ice.LocalException __ex)
01745 {
01746 __cnt = __handleException(__delBase, __ex, null, __cnt);
01747 }
01748 }
01749 }
01750
01751 private static final String __receiveChangeEvent_name = "receiveChangeEvent";
01752
01753 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc)
01754 {
01755 return begin_receiveChangeEvent(wmc, null, false, null);
01756 }
01757
01758 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx)
01759 {
01760 return begin_receiveChangeEvent(wmc, __ctx, true, null);
01761 }
01762
01763 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, Ice.Callback __cb)
01764 {
01765 return begin_receiveChangeEvent(wmc, null, false, __cb);
01766 }
01767
01768 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01769 {
01770 return begin_receiveChangeEvent(wmc, __ctx, true, __cb);
01771 }
01772
01773 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, Callback_WorkingMemoryReaderComponent_receiveChangeEvent __cb)
01774 {
01775 return begin_receiveChangeEvent(wmc, null, false, __cb);
01776 }
01777
01778 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, Callback_WorkingMemoryReaderComponent_receiveChangeEvent __cb)
01779 {
01780 return begin_receiveChangeEvent(wmc, __ctx, true, __cb);
01781 }
01782
01783 private Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01784 {
01785 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __receiveChangeEvent_name, __cb);
01786 try
01787 {
01788 __result.__prepare(__receiveChangeEvent_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01789 IceInternal.BasicStream __os = __result.__os();
01790 wmc.__write(__os);
01791 __os.endWriteEncaps();
01792 __result.__send(true);
01793 }
01794 catch(Ice.LocalException __ex)
01795 {
01796 __result.__exceptionAsync(__ex);
01797 }
01798 return __result;
01799 }
01800
01801 public void end_receiveChangeEvent(Ice.AsyncResult __result)
01802 {
01803 __end(__result, __receiveChangeEvent_name);
01804 }
01805
01806 public static TaskManagerPrx
01807 checkedCast(Ice.ObjectPrx __obj)
01808 {
01809 TaskManagerPrx __d = null;
01810 if(__obj != null)
01811 {
01812 try
01813 {
01814 __d = (TaskManagerPrx)__obj;
01815 }
01816 catch(ClassCastException ex)
01817 {
01818 if(__obj.ice_isA("::cast::interfaces::TaskManager"))
01819 {
01820 TaskManagerPrxHelper __h = new TaskManagerPrxHelper();
01821 __h.__copyFrom(__obj);
01822 __d = __h;
01823 }
01824 }
01825 }
01826 return __d;
01827 }
01828
01829 public static TaskManagerPrx
01830 checkedCast(Ice.ObjectPrx __obj, java.util.Map<String, String> __ctx)
01831 {
01832 TaskManagerPrx __d = null;
01833 if(__obj != null)
01834 {
01835 try
01836 {
01837 __d = (TaskManagerPrx)__obj;
01838 }
01839 catch(ClassCastException ex)
01840 {
01841 if(__obj.ice_isA("::cast::interfaces::TaskManager", __ctx))
01842 {
01843 TaskManagerPrxHelper __h = new TaskManagerPrxHelper();
01844 __h.__copyFrom(__obj);
01845 __d = __h;
01846 }
01847 }
01848 }
01849 return __d;
01850 }
01851
01852 public static TaskManagerPrx
01853 checkedCast(Ice.ObjectPrx __obj, String __facet)
01854 {
01855 TaskManagerPrx __d = null;
01856 if(__obj != null)
01857 {
01858 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01859 try
01860 {
01861 if(__bb.ice_isA("::cast::interfaces::TaskManager"))
01862 {
01863 TaskManagerPrxHelper __h = new TaskManagerPrxHelper();
01864 __h.__copyFrom(__bb);
01865 __d = __h;
01866 }
01867 }
01868 catch(Ice.FacetNotExistException ex)
01869 {
01870 }
01871 }
01872 return __d;
01873 }
01874
01875 public static TaskManagerPrx
01876 checkedCast(Ice.ObjectPrx __obj, String __facet, java.util.Map<String, String> __ctx)
01877 {
01878 TaskManagerPrx __d = null;
01879 if(__obj != null)
01880 {
01881 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01882 try
01883 {
01884 if(__bb.ice_isA("::cast::interfaces::TaskManager", __ctx))
01885 {
01886 TaskManagerPrxHelper __h = new TaskManagerPrxHelper();
01887 __h.__copyFrom(__bb);
01888 __d = __h;
01889 }
01890 }
01891 catch(Ice.FacetNotExistException ex)
01892 {
01893 }
01894 }
01895 return __d;
01896 }
01897
01898 public static TaskManagerPrx
01899 uncheckedCast(Ice.ObjectPrx __obj)
01900 {
01901 TaskManagerPrx __d = null;
01902 if(__obj != null)
01903 {
01904 try
01905 {
01906 __d = (TaskManagerPrx)__obj;
01907 }
01908 catch(ClassCastException ex)
01909 {
01910 TaskManagerPrxHelper __h = new TaskManagerPrxHelper();
01911 __h.__copyFrom(__obj);
01912 __d = __h;
01913 }
01914 }
01915 return __d;
01916 }
01917
01918 public static TaskManagerPrx
01919 uncheckedCast(Ice.ObjectPrx __obj, String __facet)
01920 {
01921 TaskManagerPrx __d = null;
01922 if(__obj != null)
01923 {
01924 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01925 TaskManagerPrxHelper __h = new TaskManagerPrxHelper();
01926 __h.__copyFrom(__bb);
01927 __d = __h;
01928 }
01929 return __d;
01930 }
01931
01932 protected Ice._ObjectDelM
01933 __createDelegateM()
01934 {
01935 return new _TaskManagerDelM();
01936 }
01937
01938 protected Ice._ObjectDelD
01939 __createDelegateD()
01940 {
01941 return new _TaskManagerDelD();
01942 }
01943
01944 public static void
01945 __write(IceInternal.BasicStream __os, TaskManagerPrx v)
01946 {
01947 __os.writeProxy(v);
01948 }
01949
01950 public static TaskManagerPrx
01951 __read(IceInternal.BasicStream __is)
01952 {
01953 Ice.ObjectPrx proxy = __is.readProxy();
01954 if(proxy != null)
01955 {
01956 TaskManagerPrxHelper result = new TaskManagerPrxHelper();
01957 result.__copyFrom(proxy);
01958 return result;
01959 }
01960 return null;
01961 }
01962
01963 public static void
01964 write(Ice.OutputStream __outS, TaskManagerPrx v)
01965 {
01966 __outS.writeProxy(v);
01967 }
01968
01969 public static TaskManagerPrx
01970 read(Ice.InputStream __inS)
01971 {
01972 Ice.ObjectPrx proxy = __inS.readProxy();
01973 if(proxy != null)
01974 {
01975 TaskManagerPrxHelper result = new TaskManagerPrxHelper();
01976 result.__copyFrom(proxy);
01977 return result;
01978 }
01979 return null;
01980 }
01981 }