00001 package Sct_SctApi;
00002
00003
00011 public class _ScanStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.Scan
00012 {
00013
00014 public void configure (short type, double start, double stop, double step)
00015 {
00016 org.omg.CORBA.portable.InputStream $in = null;
00017 try {
00018 org.omg.CORBA.portable.OutputStream $out = _request ("configure", true);
00019 $out.write_ushort (type);
00020 $out.write_double (start);
00021 $out.write_double (stop);
00022 $out.write_double (step);
00023 $in = _invoke ($out);
00024 return;
00025 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00026 $in = $ex.getInputStream ();
00027 String _id = $ex.getId ();
00028 throw new org.omg.CORBA.MARSHAL (_id);
00029 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00030 configure (type, start, stop, step );
00031 } finally {
00032 _releaseReply ($in);
00033 }
00034 }
00035
00036 public void configure2 (short type, double start, double stop, double step)
00037 {
00038 org.omg.CORBA.portable.InputStream $in = null;
00039 try {
00040 org.omg.CORBA.portable.OutputStream $out = _request ("configure2", true);
00041 $out.write_ushort (type);
00042 $out.write_double (start);
00043 $out.write_double (stop);
00044 $out.write_double (step);
00045 $in = _invoke ($out);
00046 return;
00047 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00048 $in = $ex.getInputStream ();
00049 String _id = $ex.getId ();
00050 throw new org.omg.CORBA.MARSHAL (_id);
00051 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00052 configure2 (type, start, stop, step );
00053 } finally {
00054 _releaseReply ($in);
00055 }
00056 }
00057
00058 public Sct_SctApi.Trigger getTrigger1 ()
00059 {
00060 org.omg.CORBA.portable.InputStream $in = null;
00061 try {
00062 org.omg.CORBA.portable.OutputStream $out = _request ("getTrigger1", true);
00063 $in = _invoke ($out);
00064 Sct_SctApi.Trigger $result = Sct_SctApi.TriggerHelper.read ($in);
00065 return $result;
00066 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00067 $in = $ex.getInputStream ();
00068 String _id = $ex.getId ();
00069 throw new org.omg.CORBA.MARSHAL (_id);
00070 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00071 return getTrigger1 ( );
00072 } finally {
00073 _releaseReply ($in);
00074 }
00075 }
00076
00077 public Sct_SctApi.Trigger getTrigger2 ()
00078 {
00079 org.omg.CORBA.portable.InputStream $in = null;
00080 try {
00081 org.omg.CORBA.portable.OutputStream $out = _request ("getTrigger2", true);
00082 $in = _invoke ($out);
00083 Sct_SctApi.Trigger $result = Sct_SctApi.TriggerHelper.read ($in);
00084 return $result;
00085 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00086 $in = $ex.getInputStream ();
00087 String _id = $ex.getId ();
00088 throw new org.omg.CORBA.MARSHAL (_id);
00089 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00090 return getTrigger2 ( );
00091 } finally {
00092 _releaseReply ($in);
00093 }
00094 }
00095
00096
00097
00098 public void setTrigger1 (Sct_SctApi.Trigger trig) throws Sct_SctApi.SctApiException
00099 {
00100 org.omg.CORBA.portable.InputStream $in = null;
00101 try {
00102 org.omg.CORBA.portable.OutputStream $out = _request ("setTrigger1", true);
00103 Sct_SctApi.TriggerHelper.write ($out, trig);
00104 $in = _invoke ($out);
00105 return;
00106 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00107 $in = $ex.getInputStream ();
00108 String _id = $ex.getId ();
00109 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00110 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00111 else
00112 throw new org.omg.CORBA.MARSHAL (_id);
00113 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00114 setTrigger1 (trig );
00115 } finally {
00116 _releaseReply ($in);
00117 }
00118 }
00119
00120 public void setTrigger2 (Sct_SctApi.Trigger trig) throws Sct_SctApi.SctApiException
00121 {
00122 org.omg.CORBA.portable.InputStream $in = null;
00123 try {
00124 org.omg.CORBA.portable.OutputStream $out = _request ("setTrigger2", true);
00125 Sct_SctApi.TriggerHelper.write ($out, trig);
00126 $in = _invoke ($out);
00127 return;
00128 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00129 $in = $ex.getInputStream ();
00130 String _id = $ex.getId ();
00131 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00132 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00133 else
00134 throw new org.omg.CORBA.MARSHAL (_id);
00135 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00136 setTrigger2 (trig );
00137 } finally {
00138 _releaseReply ($in);
00139 }
00140 }
00141
00142 public void setScanVariable1 (short var)
00143 {
00144 org.omg.CORBA.portable.InputStream $in = null;
00145 try {
00146 org.omg.CORBA.portable.OutputStream $out = _request ("setScanVariable1", true);
00147 $out.write_ushort (var);
00148 $in = _invoke ($out);
00149 return;
00150 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00151 $in = $ex.getInputStream ();
00152 String _id = $ex.getId ();
00153 throw new org.omg.CORBA.MARSHAL (_id);
00154 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00155 setScanVariable1 (var );
00156 } finally {
00157 _releaseReply ($in);
00158 }
00159 }
00160
00161 public void setScanVariable2 (short var)
00162 {
00163 org.omg.CORBA.portable.InputStream $in = null;
00164 try {
00165 org.omg.CORBA.portable.OutputStream $out = _request ("setScanVariable2", true);
00166 $out.write_ushort (var);
00167 $in = _invoke ($out);
00168 return;
00169 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00170 $in = $ex.getInputStream ();
00171 String _id = $ex.getId ();
00172 throw new org.omg.CORBA.MARSHAL (_id);
00173 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00174 setScanVariable2 (var );
00175 } finally {
00176 _releaseReply ($in);
00177 }
00178 }
00179
00180 public short getScanVariable1 ()
00181 {
00182 org.omg.CORBA.portable.InputStream $in = null;
00183 try {
00184 org.omg.CORBA.portable.OutputStream $out = _request ("getScanVariable1", true);
00185 $in = _invoke ($out);
00186 short $result = $in.read_ushort ();
00187 return $result;
00188 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00189 $in = $ex.getInputStream ();
00190 String _id = $ex.getId ();
00191 throw new org.omg.CORBA.MARSHAL (_id);
00192 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00193 return getScanVariable1 ( );
00194 } finally {
00195 _releaseReply ($in);
00196 }
00197 }
00198
00199 public short getScanVariable2 ()
00200 {
00201 org.omg.CORBA.portable.InputStream $in = null;
00202 try {
00203 org.omg.CORBA.portable.OutputStream $out = _request ("getScanVariable2", true);
00204 $in = _invoke ($out);
00205 short $result = $in.read_ushort ();
00206 return $result;
00207 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00208 $in = $ex.getInputStream ();
00209 String _id = $ex.getId ();
00210 throw new org.omg.CORBA.MARSHAL (_id);
00211 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00212 return getScanVariable2 ( );
00213 } finally {
00214 _releaseReply ($in);
00215 }
00216 }
00217
00218 public void setNTrigs (int nTrigs)
00219 {
00220 org.omg.CORBA.portable.InputStream $in = null;
00221 try {
00222 org.omg.CORBA.portable.OutputStream $out = _request ("setNTrigs", true);
00223 $out.write_ulong (nTrigs);
00224 $in = _invoke ($out);
00225 return;
00226 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00227 $in = $ex.getInputStream ();
00228 String _id = $ex.getId ();
00229 throw new org.omg.CORBA.MARSHAL (_id);
00230 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00231 setNTrigs (nTrigs );
00232 } finally {
00233 _releaseReply ($in);
00234 }
00235 }
00236
00237 public int getNTrigs ()
00238 {
00239 org.omg.CORBA.portable.InputStream $in = null;
00240 try {
00241 org.omg.CORBA.portable.OutputStream $out = _request ("getNTrigs", true);
00242 $in = _invoke ($out);
00243 int $result = $in.read_ulong ();
00244 return $result;
00245 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00246 $in = $ex.getInputStream ();
00247 String _id = $ex.getId ();
00248 throw new org.omg.CORBA.MARSHAL (_id);
00249 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00250 return getNTrigs ( );
00251 } finally {
00252 _releaseReply ($in);
00253 }
00254 }
00255
00256 public int[] getVariableTrigs ()
00257 {
00258 org.omg.CORBA.portable.InputStream $in = null;
00259 try {
00260 org.omg.CORBA.portable.OutputStream $out = _request ("getVariableTrigs", true);
00261 $in = _invoke ($out);
00262 int $result[] = Sct_SctApi.ScanPackage.TrigPointsHelper.read ($in);
00263 return $result;
00264 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00265 $in = $ex.getInputStream ();
00266 String _id = $ex.getId ();
00267 throw new org.omg.CORBA.MARSHAL (_id);
00268 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00269 return getVariableTrigs ( );
00270 } finally {
00271 _releaseReply ($in);
00272 }
00273 }
00274
00275 public void setVariableTrigs (int[] trigs)
00276 {
00277 org.omg.CORBA.portable.InputStream $in = null;
00278 try {
00279 org.omg.CORBA.portable.OutputStream $out = _request ("setVariableTrigs", true);
00280 Sct_SctApi.ScanPackage.TrigPointsHelper.write ($out, trigs);
00281 $in = _invoke ($out);
00282 return;
00283 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00284 $in = $ex.getInputStream ();
00285 String _id = $ex.getId ();
00286 throw new org.omg.CORBA.MARSHAL (_id);
00287 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00288 setVariableTrigs (trigs );
00289 } finally {
00290 _releaseReply ($in);
00291 }
00292 }
00293
00294 public void setVariableTrigRange (short start, short end, int value)
00295 {
00296 org.omg.CORBA.portable.InputStream $in = null;
00297 try {
00298 org.omg.CORBA.portable.OutputStream $out = _request ("setVariableTrigRange", true);
00299 $out.write_ushort (start);
00300 $out.write_ushort (end);
00301 $out.write_ulong (value);
00302 $in = _invoke ($out);
00303 return;
00304 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00305 $in = $ex.getInputStream ();
00306 String _id = $ex.getId ();
00307 throw new org.omg.CORBA.MARSHAL (_id);
00308 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00309 setVariableTrigRange (start, end, value );
00310 } finally {
00311 _releaseReply ($in);
00312 }
00313 }
00314
00315 public double[] getScanPoints1 ()
00316 {
00317 org.omg.CORBA.portable.InputStream $in = null;
00318 try {
00319 org.omg.CORBA.portable.OutputStream $out = _request ("getScanPoints1", true);
00320 $in = _invoke ($out);
00321 double $result[] = Sct_SctApi.ScanPackage.ScanPointsHelper.read ($in);
00322 return $result;
00323 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00324 $in = $ex.getInputStream ();
00325 String _id = $ex.getId ();
00326 throw new org.omg.CORBA.MARSHAL (_id);
00327 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00328 return getScanPoints1 ( );
00329 } finally {
00330 _releaseReply ($in);
00331 }
00332 }
00333
00334 public double[] getScanPoints2 ()
00335 {
00336 org.omg.CORBA.portable.InputStream $in = null;
00337 try {
00338 org.omg.CORBA.portable.OutputStream $out = _request ("getScanPoints2", true);
00339 $in = _invoke ($out);
00340 double $result[] = Sct_SctApi.ScanPackage.ScanPointsHelper.read ($in);
00341 return $result;
00342 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00343 $in = $ex.getInputStream ();
00344 String _id = $ex.getId ();
00345 throw new org.omg.CORBA.MARSHAL (_id);
00346 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00347 return getScanPoints2 ( );
00348 } finally {
00349 _releaseReply ($in);
00350 }
00351 }
00352
00353 public void setScanPoints1 (double[] scans)
00354 {
00355 org.omg.CORBA.portable.InputStream $in = null;
00356 try {
00357 org.omg.CORBA.portable.OutputStream $out = _request ("setScanPoints1", true);
00358 Sct_SctApi.ScanPackage.ScanPointsHelper.write ($out, scans);
00359 $in = _invoke ($out);
00360 return;
00361 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00362 $in = $ex.getInputStream ();
00363 String _id = $ex.getId ();
00364 throw new org.omg.CORBA.MARSHAL (_id);
00365 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00366 setScanPoints1 (scans );
00367 } finally {
00368 _releaseReply ($in);
00369 }
00370 }
00371
00372 public void setScanPoints2 (double[] scans)
00373 {
00374 org.omg.CORBA.portable.InputStream $in = null;
00375 try {
00376 org.omg.CORBA.portable.OutputStream $out = _request ("setScanPoints2", true);
00377 Sct_SctApi.ScanPackage.ScanPointsHelper.write ($out, scans);
00378 $in = _invoke ($out);
00379 return;
00380 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00381 $in = $ex.getInputStream ();
00382 String _id = $ex.getId ();
00383 throw new org.omg.CORBA.MARSHAL (_id);
00384 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00385 setScanPoints2 (scans );
00386 } finally {
00387 _releaseReply ($in);
00388 }
00389 }
00390
00391 public int getOption (Sct_SctApi.ScanPackage.ScanOptions opt)
00392 {
00393 org.omg.CORBA.portable.InputStream $in = null;
00394 try {
00395 org.omg.CORBA.portable.OutputStream $out = _request ("getOption", true);
00396 Sct_SctApi.ScanPackage.ScanOptionsHelper.write ($out, opt);
00397 $in = _invoke ($out);
00398 int $result = $in.read_long ();
00399 return $result;
00400 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00401 $in = $ex.getInputStream ();
00402 String _id = $ex.getId ();
00403 throw new org.omg.CORBA.MARSHAL (_id);
00404 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00405 return getOption (opt );
00406 } finally {
00407 _releaseReply ($in);
00408 }
00409 }
00410
00411 public void setOption (Sct_SctApi.ScanPackage.ScanOptions opt, int val)
00412 {
00413 org.omg.CORBA.portable.InputStream $in = null;
00414 try {
00415 org.omg.CORBA.portable.OutputStream $out = _request ("setOption", true);
00416 Sct_SctApi.ScanPackage.ScanOptionsHelper.write ($out, opt);
00417 $out.write_long (val);
00418 $in = _invoke ($out);
00419 return;
00420 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00421 $in = $ex.getInputStream ();
00422 String _id = $ex.getId ();
00423 throw new org.omg.CORBA.MARSHAL (_id);
00424 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00425 setOption (opt, val );
00426 } finally {
00427 _releaseReply ($in);
00428 }
00429 }
00430
00431 public void print ()
00432 {
00433 org.omg.CORBA.portable.InputStream $in = null;
00434 try {
00435 org.omg.CORBA.portable.OutputStream $out = _request ("print", true);
00436 $in = _invoke ($out);
00437 return;
00438 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00439 $in = $ex.getInputStream ();
00440 String _id = $ex.getId ();
00441 throw new org.omg.CORBA.MARSHAL (_id);
00442 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00443 print ( );
00444 } finally {
00445 _releaseReply ($in);
00446 }
00447 }
00448
00449 public void setScanNumber (short scan)
00450 {
00451 org.omg.CORBA.portable.InputStream $in = null;
00452 try {
00453 org.omg.CORBA.portable.OutputStream $out = _request ("setScanNumber", true);
00454 $out.write_ushort (scan);
00455 $in = _invoke ($out);
00456 return;
00457 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00458 $in = $ex.getInputStream ();
00459 String _id = $ex.getId ();
00460 throw new org.omg.CORBA.MARSHAL (_id);
00461 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00462 setScanNumber (scan );
00463 } finally {
00464 _releaseReply ($in);
00465 }
00466 }
00467
00468 public int getScanNumber ()
00469 {
00470 org.omg.CORBA.portable.InputStream $in = null;
00471 try {
00472 org.omg.CORBA.portable.OutputStream $out = _request ("getScanNumber", true);
00473 $in = _invoke ($out);
00474 int $result = $in.read_ulong ();
00475 return $result;
00476 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00477 $in = $ex.getInputStream ();
00478 String _id = $ex.getId ();
00479 throw new org.omg.CORBA.MARSHAL (_id);
00480 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00481 return getScanNumber ( );
00482 } finally {
00483 _releaseReply ($in);
00484 }
00485 }
00486
00487 public void setRunNumber (short scan)
00488 {
00489 org.omg.CORBA.portable.InputStream $in = null;
00490 try {
00491 org.omg.CORBA.portable.OutputStream $out = _request ("setRunNumber", true);
00492 $out.write_ushort (scan);
00493 $in = _invoke ($out);
00494 return;
00495 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00496 $in = $ex.getInputStream ();
00497 String _id = $ex.getId ();
00498 throw new org.omg.CORBA.MARSHAL (_id);
00499 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00500 setRunNumber (scan );
00501 } finally {
00502 _releaseReply ($in);
00503 }
00504 }
00505
00506 public int getRunNumber ()
00507 {
00508 org.omg.CORBA.portable.InputStream $in = null;
00509 try {
00510 org.omg.CORBA.portable.OutputStream $out = _request ("getRunNumber", true);
00511 $in = _invoke ($out);
00512 int $result = $in.read_ulong ();
00513 return $result;
00514 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00515 $in = $ex.getInputStream ();
00516 String _id = $ex.getId ();
00517 throw new org.omg.CORBA.MARSHAL (_id);
00518 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00519 return getRunNumber ( );
00520 } finally {
00521 _releaseReply ($in);
00522 }
00523 }
00524
00525 public String[] getModuleList (int group)
00526 {
00527 org.omg.CORBA.portable.InputStream $in = null;
00528 try {
00529 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleList", true);
00530 $out.write_ulong (group);
00531 $in = _invoke ($out);
00532 String $result[] = sctConf.ModuleListHelper.read ($in);
00533 return $result;
00534 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00535 $in = $ex.getInputStream ();
00536 String _id = $ex.getId ();
00537 throw new org.omg.CORBA.MARSHAL (_id);
00538 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00539 return getModuleList (group );
00540 } finally {
00541 _releaseReply ($in);
00542 }
00543 }
00544
00545 public void setModuleList (int group, String[] newList)
00546 {
00547 org.omg.CORBA.portable.InputStream $in = null;
00548 try {
00549 org.omg.CORBA.portable.OutputStream $out = _request ("setModuleList", true);
00550 $out.write_ulong (group);
00551 sctConf.ModuleListHelper.write ($out, newList);
00552 $in = _invoke ($out);
00553 return;
00554 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00555 $in = $ex.getInputStream ();
00556 String _id = $ex.getId ();
00557 throw new org.omg.CORBA.MARSHAL (_id);
00558 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00559 setModuleList (group, newList );
00560 } finally {
00561 _releaseReply ($in);
00562 }
00563 }
00564
00565 public int getNGroups ()
00566 {
00567 org.omg.CORBA.portable.InputStream $in = null;
00568 try {
00569 org.omg.CORBA.portable.OutputStream $out = _request ("getNGroups", true);
00570 $in = _invoke ($out);
00571 int $result = $in.read_ulong ();
00572 return $result;
00573 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00574 $in = $ex.getInputStream ();
00575 String _id = $ex.getId ();
00576 throw new org.omg.CORBA.MARSHAL (_id);
00577 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00578 return getNGroups ( );
00579 } finally {
00580 _releaseReply ($in);
00581 }
00582 }
00583
00584 public void setNGroups (short val)
00585 {
00586 org.omg.CORBA.portable.InputStream $in = null;
00587 try {
00588 org.omg.CORBA.portable.OutputStream $out = _request ("setNGroups", true);
00589 $out.write_ushort (val);
00590 $in = _invoke ($out);
00591 return;
00592 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00593 $in = $ex.getInputStream ();
00594 String _id = $ex.getId ();
00595 throw new org.omg.CORBA.MARSHAL (_id);
00596 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00597 setNGroups (val );
00598 } finally {
00599 _releaseReply ($in);
00600 }
00601 }
00602
00603
00605 public String getStartTime ()
00606 {
00607 org.omg.CORBA.portable.InputStream $in = null;
00608 try {
00609 org.omg.CORBA.portable.OutputStream $out = _request ("getStartTime", true);
00610 $in = _invoke ($out);
00611 String $result = $in.read_string ();
00612 return $result;
00613 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00614 $in = $ex.getInputStream ();
00615 String _id = $ex.getId ();
00616 throw new org.omg.CORBA.MARSHAL (_id);
00617 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00618 return getStartTime ( );
00619 } finally {
00620 _releaseReply ($in);
00621 }
00622 }
00623
00624 public void setStartTime (String t)
00625 {
00626 org.omg.CORBA.portable.InputStream $in = null;
00627 try {
00628 org.omg.CORBA.portable.OutputStream $out = _request ("setStartTime", true);
00629 $out.write_string (t);
00630 $in = _invoke ($out);
00631 return;
00632 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00633 $in = $ex.getInputStream ();
00634 String _id = $ex.getId ();
00635 throw new org.omg.CORBA.MARSHAL (_id);
00636 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00637 setStartTime (t );
00638 } finally {
00639 _releaseReply ($in);
00640 }
00641 }
00642
00643
00645 public String getEndTime ()
00646 {
00647 org.omg.CORBA.portable.InputStream $in = null;
00648 try {
00649 org.omg.CORBA.portable.OutputStream $out = _request ("getEndTime", true);
00650 $in = _invoke ($out);
00651 String $result = $in.read_string ();
00652 return $result;
00653 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00654 $in = $ex.getInputStream ();
00655 String _id = $ex.getId ();
00656 throw new org.omg.CORBA.MARSHAL (_id);
00657 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00658 return getEndTime ( );
00659 } finally {
00660 _releaseReply ($in);
00661 }
00662 }
00663
00664 public void setEndTime (String t)
00665 {
00666 org.omg.CORBA.portable.InputStream $in = null;
00667 try {
00668 org.omg.CORBA.portable.OutputStream $out = _request ("setEndTime", true);
00669 $out.write_string (t);
00670 $in = _invoke ($out);
00671 return;
00672 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00673 $in = $ex.getInputStream ();
00674 String _id = $ex.getId ();
00675 throw new org.omg.CORBA.MARSHAL (_id);
00676 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00677 setEndTime (t );
00678 } finally {
00679 _releaseReply ($in);
00680 }
00681 }
00682
00683 public ipc.servantPackage.info information ()
00684 {
00685 org.omg.CORBA.portable.InputStream $in = null;
00686 try {
00687 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00688 $in = _invoke ($out);
00689 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00690 return $result;
00691 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00692 $in = $ex.getInputStream ();
00693 String _id = $ex.getId ();
00694 throw new org.omg.CORBA.MARSHAL (_id);
00695 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00696 return information ( );
00697 } finally {
00698 _releaseReply ($in);
00699 }
00700 }
00701
00702 public void shutdown ()
00703 {
00704 org.omg.CORBA.portable.InputStream $in = null;
00705 try {
00706 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00707 $in = _invoke ($out);
00708 return;
00709 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00710 $in = $ex.getInputStream ();
00711 String _id = $ex.getId ();
00712 throw new org.omg.CORBA.MARSHAL (_id);
00713 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00714 shutdown ( );
00715 } finally {
00716 _releaseReply ($in);
00717 }
00718 }
00719
00720
00721 private static String[] __ids = {
00722 "IDL:Sct_SctApi/Scan:1.0",
00723 "IDL:ipc/servant:1.0"};
00724
00725 public String[] _ids ()
00726 {
00727 return (String[])__ids.clone ();
00728 }
00729
00730 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00731 {
00732 String str = s.readUTF ();
00733 String[] args = null;
00734 java.util.Properties props = null;
00735 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00736 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00737 _set_delegate (delegate);
00738 }
00739
00740 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00741 {
00742 String[] args = null;
00743 java.util.Properties props = null;
00744 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00745 s.writeUTF (str);
00746 }
00747 }