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 CASTComponentPrxHelper extends Ice.ObjectPrxHelperBase implements CASTComponentPrx
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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 _CASTComponentDel __del = (_CASTComponentDel)__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 static CASTComponentPrx
01074 checkedCast(Ice.ObjectPrx __obj)
01075 {
01076 CASTComponentPrx __d = null;
01077 if(__obj != null)
01078 {
01079 try
01080 {
01081 __d = (CASTComponentPrx)__obj;
01082 }
01083 catch(ClassCastException ex)
01084 {
01085 if(__obj.ice_isA("::cast::interfaces::CASTComponent"))
01086 {
01087 CASTComponentPrxHelper __h = new CASTComponentPrxHelper();
01088 __h.__copyFrom(__obj);
01089 __d = __h;
01090 }
01091 }
01092 }
01093 return __d;
01094 }
01095
01096 public static CASTComponentPrx
01097 checkedCast(Ice.ObjectPrx __obj, java.util.Map<String, String> __ctx)
01098 {
01099 CASTComponentPrx __d = null;
01100 if(__obj != null)
01101 {
01102 try
01103 {
01104 __d = (CASTComponentPrx)__obj;
01105 }
01106 catch(ClassCastException ex)
01107 {
01108 if(__obj.ice_isA("::cast::interfaces::CASTComponent", __ctx))
01109 {
01110 CASTComponentPrxHelper __h = new CASTComponentPrxHelper();
01111 __h.__copyFrom(__obj);
01112 __d = __h;
01113 }
01114 }
01115 }
01116 return __d;
01117 }
01118
01119 public static CASTComponentPrx
01120 checkedCast(Ice.ObjectPrx __obj, String __facet)
01121 {
01122 CASTComponentPrx __d = null;
01123 if(__obj != null)
01124 {
01125 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01126 try
01127 {
01128 if(__bb.ice_isA("::cast::interfaces::CASTComponent"))
01129 {
01130 CASTComponentPrxHelper __h = new CASTComponentPrxHelper();
01131 __h.__copyFrom(__bb);
01132 __d = __h;
01133 }
01134 }
01135 catch(Ice.FacetNotExistException ex)
01136 {
01137 }
01138 }
01139 return __d;
01140 }
01141
01142 public static CASTComponentPrx
01143 checkedCast(Ice.ObjectPrx __obj, String __facet, java.util.Map<String, String> __ctx)
01144 {
01145 CASTComponentPrx __d = null;
01146 if(__obj != null)
01147 {
01148 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01149 try
01150 {
01151 if(__bb.ice_isA("::cast::interfaces::CASTComponent", __ctx))
01152 {
01153 CASTComponentPrxHelper __h = new CASTComponentPrxHelper();
01154 __h.__copyFrom(__bb);
01155 __d = __h;
01156 }
01157 }
01158 catch(Ice.FacetNotExistException ex)
01159 {
01160 }
01161 }
01162 return __d;
01163 }
01164
01165 public static CASTComponentPrx
01166 uncheckedCast(Ice.ObjectPrx __obj)
01167 {
01168 CASTComponentPrx __d = null;
01169 if(__obj != null)
01170 {
01171 try
01172 {
01173 __d = (CASTComponentPrx)__obj;
01174 }
01175 catch(ClassCastException ex)
01176 {
01177 CASTComponentPrxHelper __h = new CASTComponentPrxHelper();
01178 __h.__copyFrom(__obj);
01179 __d = __h;
01180 }
01181 }
01182 return __d;
01183 }
01184
01185 public static CASTComponentPrx
01186 uncheckedCast(Ice.ObjectPrx __obj, String __facet)
01187 {
01188 CASTComponentPrx __d = null;
01189 if(__obj != null)
01190 {
01191 Ice.ObjectPrx __bb = __obj.ice_facet(__facet);
01192 CASTComponentPrxHelper __h = new CASTComponentPrxHelper();
01193 __h.__copyFrom(__bb);
01194 __d = __h;
01195 }
01196 return __d;
01197 }
01198
01199 protected Ice._ObjectDelM
01200 __createDelegateM()
01201 {
01202 return new _CASTComponentDelM();
01203 }
01204
01205 protected Ice._ObjectDelD
01206 __createDelegateD()
01207 {
01208 return new _CASTComponentDelD();
01209 }
01210
01211 public static void
01212 __write(IceInternal.BasicStream __os, CASTComponentPrx v)
01213 {
01214 __os.writeProxy(v);
01215 }
01216
01217 public static CASTComponentPrx
01218 __read(IceInternal.BasicStream __is)
01219 {
01220 Ice.ObjectPrx proxy = __is.readProxy();
01221 if(proxy != null)
01222 {
01223 CASTComponentPrxHelper result = new CASTComponentPrxHelper();
01224 result.__copyFrom(proxy);
01225 return result;
01226 }
01227 return null;
01228 }
01229
01230 public static void
01231 write(Ice.OutputStream __outS, CASTComponentPrx v)
01232 {
01233 __outS.writeProxy(v);
01234 }
01235
01236 public static CASTComponentPrx
01237 read(Ice.InputStream __inS)
01238 {
01239 Ice.ObjectPrx proxy = __inS.readProxy();
01240 if(proxy != null)
01241 {
01242 CASTComponentPrxHelper result = new CASTComponentPrxHelper();
01243 result.__copyFrom(proxy);
01244 return result;
01245 }
01246 return null;
01247 }
01248 }