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 ManagedComponentPrxHelper extends Ice.ObjectPrxHelperBase implements ManagedComponentPrx
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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 _ManagedComponentDel __del = (_ManagedComponentDel)__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 setTaskManager(TaskManagerPrx tm)
01075 {
01076 setTaskManager(tm, null, false);
01077 }
01078
01079 public void
01080 setTaskManager(TaskManagerPrx tm, java.util.Map<String, String> __ctx)
01081 {
01082 setTaskManager(tm, __ctx, true);
01083 }
01084
01085 private void
01086 setTaskManager(TaskManagerPrx tm, 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 _ManagedComponentDel __del = (_ManagedComponentDel)__delBase;
01100 __del.setTaskManager(tm, __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 __setTaskManager_name = "setTaskManager";
01115
01116 public Ice.AsyncResult begin_setTaskManager(TaskManagerPrx tm)
01117 {
01118 return begin_setTaskManager(tm, null, false, null);
01119 }
01120
01121 public Ice.AsyncResult begin_setTaskManager(TaskManagerPrx tm, java.util.Map<String, String> __ctx)
01122 {
01123 return begin_setTaskManager(tm, __ctx, true, null);
01124 }
01125
01126 public Ice.AsyncResult begin_setTaskManager(TaskManagerPrx tm, Ice.Callback __cb)
01127 {
01128 return begin_setTaskManager(tm, null, false, __cb);
01129 }
01130
01131 public Ice.AsyncResult begin_setTaskManager(TaskManagerPrx tm, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01132 {
01133 return begin_setTaskManager(tm, __ctx, true, __cb);
01134 }
01135
01136 public Ice.AsyncResult begin_setTaskManager(TaskManagerPrx tm, Callback_ManagedComponent_setTaskManager __cb)
01137 {
01138 return begin_setTaskManager(tm, null, false, __cb);
01139 }
01140
01141 public Ice.AsyncResult begin_setTaskManager(TaskManagerPrx tm, java.util.Map<String, String> __ctx, Callback_ManagedComponent_setTaskManager __cb)
01142 {
01143 return begin_setTaskManager(tm, __ctx, true, __cb);
01144 }
01145
01146 private Ice.AsyncResult begin_setTaskManager(TaskManagerPrx tm, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01147 {
01148 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __setTaskManager_name, __cb);
01149 try
01150 {
01151 __result.__prepare(__setTaskManager_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01152 IceInternal.BasicStream __os = __result.__os();
01153 TaskManagerPrxHelper.__write(__os, tm);
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_setTaskManager(Ice.AsyncResult __result)
01165 {
01166 __end(__result, __setTaskManager_name);
01167 }
01168
01169 public void
01170 taskDecision(String id, cast.cdl.TaskManagementDecision decision)
01171 {
01172 taskDecision(id, decision, null, false);
01173 }
01174
01175 public void
01176 taskDecision(String id, cast.cdl.TaskManagementDecision decision, java.util.Map<String, String> __ctx)
01177 {
01178 taskDecision(id, decision, __ctx, true);
01179 }
01180
01181 private void
01182 taskDecision(String id, cast.cdl.TaskManagementDecision decision, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01183 {
01184 if(__explicitCtx && __ctx == null)
01185 {
01186 __ctx = _emptyContext;
01187 }
01188 int __cnt = 0;
01189 while(true)
01190 {
01191 Ice._ObjectDel __delBase = null;
01192 try
01193 {
01194 __delBase = __getDelegate(false);
01195 _ManagedComponentDel __del = (_ManagedComponentDel)__delBase;
01196 __del.taskDecision(id, decision, __ctx);
01197 return;
01198 }
01199 catch(IceInternal.LocalExceptionWrapper __ex)
01200 {
01201 __handleExceptionWrapper(__delBase, __ex);
01202 }
01203 catch(Ice.LocalException __ex)
01204 {
01205 __cnt = __handleException(__delBase, __ex, null, __cnt);
01206 }
01207 }
01208 }
01209
01210 private static final String __taskDecision_name = "taskDecision";
01211
01212 public Ice.AsyncResult begin_taskDecision(String id, cast.cdl.TaskManagementDecision decision)
01213 {
01214 return begin_taskDecision(id, decision, null, false, null);
01215 }
01216
01217 public Ice.AsyncResult begin_taskDecision(String id, cast.cdl.TaskManagementDecision decision, java.util.Map<String, String> __ctx)
01218 {
01219 return begin_taskDecision(id, decision, __ctx, true, null);
01220 }
01221
01222 public Ice.AsyncResult begin_taskDecision(String id, cast.cdl.TaskManagementDecision decision, Ice.Callback __cb)
01223 {
01224 return begin_taskDecision(id, decision, null, false, __cb);
01225 }
01226
01227 public Ice.AsyncResult begin_taskDecision(String id, cast.cdl.TaskManagementDecision decision, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01228 {
01229 return begin_taskDecision(id, decision, __ctx, true, __cb);
01230 }
01231
01232 public Ice.AsyncResult begin_taskDecision(String id, cast.cdl.TaskManagementDecision decision, Callback_ManagedComponent_taskDecision __cb)
01233 {
01234 return begin_taskDecision(id, decision, null, false, __cb);
01235 }
01236
01237 public Ice.AsyncResult begin_taskDecision(String id, cast.cdl.TaskManagementDecision decision, java.util.Map<String, String> __ctx, Callback_ManagedComponent_taskDecision __cb)
01238 {
01239 return begin_taskDecision(id, decision, __ctx, true, __cb);
01240 }
01241
01242 private Ice.AsyncResult begin_taskDecision(String id, cast.cdl.TaskManagementDecision decision, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01243 {
01244 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __taskDecision_name, __cb);
01245 try
01246 {
01247 __result.__prepare(__taskDecision_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01248 IceInternal.BasicStream __os = __result.__os();
01249 __os.writeString(id);
01250 decision.__write(__os);
01251 __os.endWriteEncaps();
01252 __result.__send(true);
01253 }
01254 catch(Ice.LocalException __ex)
01255 {
01256 __result.__exceptionAsync(__ex);
01257 }
01258 return __result;
01259 }
01260
01261 public void end_taskDecision(Ice.AsyncResult __result)
01262 {
01263 __end(__result, __taskDecision_name);
01264 }
01265
01266 public void
01267 setWorkingMemory(WorkingMemoryPrx wm)
01268 {
01269 setWorkingMemory(wm, null, false);
01270 }
01271
01272 public void
01273 setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx)
01274 {
01275 setWorkingMemory(wm, __ctx, true);
01276 }
01277
01278 private void
01279 setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01280 {
01281 if(__explicitCtx && __ctx == null)
01282 {
01283 __ctx = _emptyContext;
01284 }
01285 int __cnt = 0;
01286 while(true)
01287 {
01288 Ice._ObjectDel __delBase = null;
01289 try
01290 {
01291 __delBase = __getDelegate(false);
01292 _ManagedComponentDel __del = (_ManagedComponentDel)__delBase;
01293 __del.setWorkingMemory(wm, __ctx);
01294 return;
01295 }
01296 catch(IceInternal.LocalExceptionWrapper __ex)
01297 {
01298 __handleExceptionWrapper(__delBase, __ex);
01299 }
01300 catch(Ice.LocalException __ex)
01301 {
01302 __cnt = __handleException(__delBase, __ex, null, __cnt);
01303 }
01304 }
01305 }
01306
01307 private static final String __setWorkingMemory_name = "setWorkingMemory";
01308
01309 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm)
01310 {
01311 return begin_setWorkingMemory(wm, null, false, null);
01312 }
01313
01314 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx)
01315 {
01316 return begin_setWorkingMemory(wm, __ctx, true, null);
01317 }
01318
01319 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, Ice.Callback __cb)
01320 {
01321 return begin_setWorkingMemory(wm, null, false, __cb);
01322 }
01323
01324 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01325 {
01326 return begin_setWorkingMemory(wm, __ctx, true, __cb);
01327 }
01328
01329 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, Callback_WorkingMemoryAttachedComponent_setWorkingMemory __cb)
01330 {
01331 return begin_setWorkingMemory(wm, null, false, __cb);
01332 }
01333
01334 public Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, Callback_WorkingMemoryAttachedComponent_setWorkingMemory __cb)
01335 {
01336 return begin_setWorkingMemory(wm, __ctx, true, __cb);
01337 }
01338
01339 private Ice.AsyncResult begin_setWorkingMemory(WorkingMemoryPrx wm, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01340 {
01341 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __setWorkingMemory_name, __cb);
01342 try
01343 {
01344 __result.__prepare(__setWorkingMemory_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01345 IceInternal.BasicStream __os = __result.__os();
01346 WorkingMemoryPrxHelper.__write(__os, wm);
01347 __os.endWriteEncaps();
01348 __result.__send(true);
01349 }
01350 catch(Ice.LocalException __ex)
01351 {
01352 __result.__exceptionAsync(__ex);
01353 }
01354 return __result;
01355 }
01356
01357 public void end_setWorkingMemory(Ice.AsyncResult __result)
01358 {
01359 __end(__result, __setWorkingMemory_name);
01360 }
01361
01362 public void
01363 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc)
01364 {
01365 receiveChangeEvent(wmc, null, false);
01366 }
01367
01368 public void
01369 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx)
01370 {
01371 receiveChangeEvent(wmc, __ctx, true);
01372 }
01373
01374 private void
01375 receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, boolean __explicitCtx)
01376 {
01377 if(__explicitCtx && __ctx == null)
01378 {
01379 __ctx = _emptyContext;
01380 }
01381 int __cnt = 0;
01382 while(true)
01383 {
01384 Ice._ObjectDel __delBase = null;
01385 try
01386 {
01387 __delBase = __getDelegate(false);
01388 _ManagedComponentDel __del = (_ManagedComponentDel)__delBase;
01389 __del.receiveChangeEvent(wmc, __ctx);
01390 return;
01391 }
01392 catch(IceInternal.LocalExceptionWrapper __ex)
01393 {
01394 __handleExceptionWrapper(__delBase, __ex);
01395 }
01396 catch(Ice.LocalException __ex)
01397 {
01398 __cnt = __handleException(__delBase, __ex, null, __cnt);
01399 }
01400 }
01401 }
01402
01403 private static final String __receiveChangeEvent_name = "receiveChangeEvent";
01404
01405 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc)
01406 {
01407 return begin_receiveChangeEvent(wmc, null, false, null);
01408 }
01409
01410 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx)
01411 {
01412 return begin_receiveChangeEvent(wmc, __ctx, true, null);
01413 }
01414
01415 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, Ice.Callback __cb)
01416 {
01417 return begin_receiveChangeEvent(wmc, null, false, __cb);
01418 }
01419
01420 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, Ice.Callback __cb)
01421 {
01422 return begin_receiveChangeEvent(wmc, __ctx, true, __cb);
01423 }
01424
01425 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, Callback_WorkingMemoryReaderComponent_receiveChangeEvent __cb)
01426 {
01427 return begin_receiveChangeEvent(wmc, null, false, __cb);
01428 }
01429
01430 public Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, Callback_WorkingMemoryReaderComponent_receiveChangeEvent __cb)
01431 {
01432 return begin_receiveChangeEvent(wmc, __ctx, true, __cb);
01433 }
01434
01435 private Ice.AsyncResult begin_receiveChangeEvent(cast.cdl.WorkingMemoryChange wmc, java.util.Map<String, String> __ctx, boolean __explicitCtx, IceInternal.CallbackBase __cb)
01436 {
01437 IceInternal.OutgoingAsync __result = new IceInternal.OutgoingAsync(this, __receiveChangeEvent_name, __cb);
01438 try
01439 {
01440 __result.__prepare(__receiveChangeEvent_name, Ice.OperationMode.Normal, __ctx, __explicitCtx);
01441 IceInternal.BasicStream __os = __result.__os();
01442 wmc.__write(__os);
01443 __os.endWriteEncaps();
01444 __result.__send(true);
01445 }
01446 catch(Ice.LocalException __ex)
01447 {
01448 __result.__exceptionAsync(__ex);
01449 }
01450 return __result;
01451 }
01452
01453 public void end_receiveChangeEvent(Ice.AsyncResult __result)
01454 {
01455 __end(__result, __receiveChangeEvent_name);
01456 }
01457
01458 public static ManagedComponentPrx
01459 checkedCast(Ice.ObjectPrx __obj)
01460 {
01461 ManagedComponentPrx __d = null;
01462 if(__obj != null)
01463 {
01464 try
01465 {
01466 __d = (ManagedComponentPrx)__obj;
01467 }
01468 catch(ClassCastException ex)
01469 {
01470 if(__obj.ice_isA("::cast::interfaces::ManagedComponent"))
01471 {
01472 ManagedComponentPrxHelper __h = new ManagedComponentPrxHelper();
01473 __h.__copyFrom(__obj);
01474 __d = __h;
01475 }
01476 }
01477 }
01478 return __d;
01479 }
01480
01481 public static ManagedComponentPrx
01482 checkedCast(Ice.ObjectPrx __obj, java.util.Map<String, String> __ctx)
01483 {
01484 ManagedComponentPrx __d = null;
01485 if(__obj != null)
01486 {
01487 try
01488 {
01489 __d = (ManagedComponentPrx)__obj;
01490 }
01491 catch(ClassCastException ex)
01492 {
01493 if(__obj.ice_isA("::cast::interfaces::ManagedComponent", __ctx))
01494 {
01495 ManagedComponentPrxHelper __h = new ManagedComponentPrxHelper();
01496 __h.__copyFrom(__obj);
01497 __d = __h;
01498 }
01499 }
01500 }
01501 return __d;
01502 }
01503
01504 public static ManagedComponentPrx
01505 checkedCast(Ice.ObjectPrx __obj, String __facet)
01506 {
01507 ManagedComponentPrx __d = null;
01508 if(__obj != null)
01509 {
01510 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01511 try
01512 {
01513 if(__bb.ice_isA("::cast::interfaces::ManagedComponent"))
01514 {
01515 ManagedComponentPrxHelper __h = new ManagedComponentPrxHelper();
01516 __h.__copyFrom(__bb);
01517 __d = __h;
01518 }
01519 }
01520 catch(Ice.FacetNotExistException ex)
01521 {
01522 }
01523 }
01524 return __d;
01525 }
01526
01527 public static ManagedComponentPrx
01528 checkedCast(Ice.ObjectPrx __obj, String __facet, java.util.Map<String, String> __ctx)
01529 {
01530 ManagedComponentPrx __d = null;
01531 if(__obj != null)
01532 {
01533 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01534 try
01535 {
01536 if(__bb.ice_isA("::cast::interfaces::ManagedComponent", __ctx))
01537 {
01538 ManagedComponentPrxHelper __h = new ManagedComponentPrxHelper();
01539 __h.__copyFrom(__bb);
01540 __d = __h;
01541 }
01542 }
01543 catch(Ice.FacetNotExistException ex)
01544 {
01545 }
01546 }
01547 return __d;
01548 }
01549
01550 public static ManagedComponentPrx
01551 uncheckedCast(Ice.ObjectPrx __obj)
01552 {
01553 ManagedComponentPrx __d = null;
01554 if(__obj != null)
01555 {
01556 try
01557 {
01558 __d = (ManagedComponentPrx)__obj;
01559 }
01560 catch(ClassCastException ex)
01561 {
01562 ManagedComponentPrxHelper __h = new ManagedComponentPrxHelper();
01563 __h.__copyFrom(__obj);
01564 __d = __h;
01565 }
01566 }
01567 return __d;
01568 }
01569
01570 public static ManagedComponentPrx
01571 uncheckedCast(Ice.ObjectPrx __obj, String __facet)
01572 {
01573 ManagedComponentPrx __d = null;
01574 if(__obj != null)
01575 {
01576 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01577 ManagedComponentPrxHelper __h = new ManagedComponentPrxHelper();
01578 __h.__copyFrom(__bb);
01579 __d = __h;
01580 }
01581 return __d;
01582 }
01583
01584 protected Ice._ObjectDelM
01585 __createDelegateM()
01586 {
01587 return new _ManagedComponentDelM();
01588 }
01589
01590 protected Ice._ObjectDelD
01591 __createDelegateD()
01592 {
01593 return new _ManagedComponentDelD();
01594 }
01595
01596 public static void
01597 __write(IceInternal.BasicStream __os, ManagedComponentPrx v)
01598 {
01599 __os.writeProxy(v);
01600 }
01601
01602 public static ManagedComponentPrx
01603 __read(IceInternal.BasicStream __is)
01604 {
01605 Ice.ObjectPrx proxy = __is.readProxy();
01606 if(proxy != null)
01607 {
01608 ManagedComponentPrxHelper result = new ManagedComponentPrxHelper();
01609 result.__copyFrom(proxy);
01610 return result;
01611 }
01612 return null;
01613 }
01614
01615 public static void
01616 write(Ice.OutputStream __outS, ManagedComponentPrx v)
01617 {
01618 __outS.writeProxy(v);
01619 }
01620
01621 public static ManagedComponentPrx
01622 read(Ice.InputStream __inS)
01623 {
01624 Ice.ObjectPrx proxy = __inS.readProxy();
01625 if(proxy != null)
01626 {
01627 ManagedComponentPrxHelper result = new ManagedComponentPrxHelper();
01628 result.__copyFrom(proxy);
01629 return result;
01630 }
01631 return null;
01632 }
01633 }