00001 package Sct_SctApi;
00002
00003
00011 public class _CommonToTopAndCrateStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.CommonToTopAndCrate
00012 {
00013
00014
00015
00016 public void doScan (Sct_SctApi.Scan thisScan) throws Sct_SctApi.SctApiException
00017 {
00018 org.omg.CORBA.portable.InputStream $in = null;
00019 try {
00020 org.omg.CORBA.portable.OutputStream $out = _request ("doScan", true);
00021 Sct_SctApi.ScanHelper.write ($out, thisScan);
00022 $in = _invoke ($out);
00023 return;
00024 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00025 $in = $ex.getInputStream ();
00026 String _id = $ex.getId ();
00027 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00028 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00029 else
00030 throw new org.omg.CORBA.MARSHAL (_id);
00031 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00032 doScan (thisScan );
00033 } finally {
00034 _releaseReply ($in);
00035 }
00036 }
00037
00038 public void doRawScan (Sct_SctApi.Scan thisScan, int delay, int width, boolean configure, boolean clockByTwo) throws Sct_SctApi.SctApiException
00039 {
00040 org.omg.CORBA.portable.InputStream $in = null;
00041 try {
00042 org.omg.CORBA.portable.OutputStream $out = _request ("doRawScan", true);
00043 Sct_SctApi.ScanHelper.write ($out, thisScan);
00044 $out.write_long (delay);
00045 $out.write_long (width);
00046 $out.write_boolean (configure);
00047 $out.write_boolean (clockByTwo);
00048 $in = _invoke ($out);
00049 return;
00050 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00051 $in = $ex.getInputStream ();
00052 String _id = $ex.getId ();
00053 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00054 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00055 else
00056 throw new org.omg.CORBA.MARSHAL (_id);
00057 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00058 doRawScan (thisScan, delay, width, configure, clockByTwo );
00059 } finally {
00060 _releaseReply ($in);
00061 }
00062 }
00063
00064 public Sct_SctApi.ScanMonitor startAsyncScan (Sct_SctApi.Scan thisScan) throws Sct_SctApi.SctApiException
00065 {
00066 org.omg.CORBA.portable.InputStream $in = null;
00067 try {
00068 org.omg.CORBA.portable.OutputStream $out = _request ("startAsyncScan", true);
00069 Sct_SctApi.ScanHelper.write ($out, thisScan);
00070 $in = _invoke ($out);
00071 Sct_SctApi.ScanMonitor $result = Sct_SctApi.ScanMonitorHelper.read ($in);
00072 return $result;
00073 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00074 $in = $ex.getInputStream ();
00075 String _id = $ex.getId ();
00076 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00077 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00078 else
00079 throw new org.omg.CORBA.MARSHAL (_id);
00080 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00081 return startAsyncScan (thisScan );
00082 } finally {
00083 _releaseReply ($in);
00084 }
00085 }
00086
00087 public void abortScan ()
00088 {
00089 org.omg.CORBA.portable.InputStream $in = null;
00090 try {
00091 org.omg.CORBA.portable.OutputStream $out = _request ("abortScan", true);
00092 $in = _invoke ($out);
00093 return;
00094 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00095 $in = $ex.getInputStream ();
00096 String _id = $ex.getId ();
00097 throw new org.omg.CORBA.MARSHAL (_id);
00098 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00099 abortScan ( );
00100 } finally {
00101 _releaseReply ($in);
00102 }
00103 }
00104
00105
00106
00107 public boolean hasFinishedScanning ()
00108 {
00109 org.omg.CORBA.portable.InputStream $in = null;
00110 try {
00111 org.omg.CORBA.portable.OutputStream $out = _request ("hasFinishedScanning", true);
00112 $in = _invoke ($out);
00113 boolean $result = $in.read_boolean ();
00114 return $result;
00115 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00116 $in = $ex.getInputStream ();
00117 String _id = $ex.getId ();
00118 throw new org.omg.CORBA.MARSHAL (_id);
00119 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00120 return hasFinishedScanning ( );
00121 } finally {
00122 _releaseReply ($in);
00123 }
00124 }
00125
00126 public void modifyABCDMask (int mid, int[] mask)
00127 {
00128 org.omg.CORBA.portable.InputStream $in = null;
00129 try {
00130 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDMask", true);
00131 $out.write_ulong (mid);
00132 Sct_SctApi.DataBlockHelper.write ($out, mask);
00133 $in = _invoke ($out);
00134 return;
00135 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00136 $in = $ex.getInputStream ();
00137 String _id = $ex.getId ();
00138 throw new org.omg.CORBA.MARSHAL (_id);
00139 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00140 modifyABCDMask (mid, mask );
00141 } finally {
00142 _releaseReply ($in);
00143 }
00144 }
00145
00146 public void modifyABCDTrims (int mid, short[] trims)
00147 {
00148 org.omg.CORBA.portable.InputStream $in = null;
00149 try {
00150 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDTrims", true);
00151 $out.write_ulong (mid);
00152 Sct_SctApi.CharBlockHelper.write ($out, trims);
00153 $in = _invoke ($out);
00154 return;
00155 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00156 $in = $ex.getInputStream ();
00157 String _id = $ex.getId ();
00158 throw new org.omg.CORBA.MARSHAL (_id);
00159 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00160 modifyABCDTrims (mid, trims );
00161 } finally {
00162 _releaseReply ($in);
00163 }
00164 }
00165
00166 public void modifyABCDRC (int mid, int chip, short index, double p0, double p1, double p2)
00167 {
00168 org.omg.CORBA.portable.InputStream $in = null;
00169 try {
00170 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDRC", true);
00171 $out.write_ulong (mid);
00172 $out.write_ulong (chip);
00173 $out.write_ushort (index);
00174 $out.write_double (p0);
00175 $out.write_double (p1);
00176 $out.write_double (p2);
00177 $in = _invoke ($out);
00178 return;
00179 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00180 $in = $ex.getInputStream ();
00181 String _id = $ex.getId ();
00182 throw new org.omg.CORBA.MARSHAL (_id);
00183 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00184 modifyABCDRC (mid, chip, index, p0, p1, p2 );
00185 } finally {
00186 _releaseReply ($in);
00187 }
00188 }
00189
00190
00191
00192 public void modifyABCDVar (int typ, double var)
00193 {
00194 org.omg.CORBA.portable.InputStream $in = null;
00195 try {
00196 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVar", true);
00197 $out.write_ulong (typ);
00198 $out.write_double (var);
00199 $in = _invoke ($out);
00200 return;
00201 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00202 $in = $ex.getInputStream ();
00203 String _id = $ex.getId ();
00204 throw new org.omg.CORBA.MARSHAL (_id);
00205 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00206 modifyABCDVar (typ, var );
00207 } finally {
00208 _releaseReply ($in);
00209 }
00210 }
00211
00212 public void modifyABCDModuleVar (int mid, int typ, double var)
00213 {
00214 org.omg.CORBA.portable.InputStream $in = null;
00215 try {
00216 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVar", true);
00217 $out.write_ulong (mid);
00218 $out.write_ulong (typ);
00219 $out.write_double (var);
00220 $in = _invoke ($out);
00221 return;
00222 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00223 $in = $ex.getInputStream ();
00224 String _id = $ex.getId ();
00225 throw new org.omg.CORBA.MARSHAL (_id);
00226 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00227 modifyABCDModuleVar (mid, typ, var );
00228 } finally {
00229 _releaseReply ($in);
00230 }
00231 }
00232
00233 public void modifyABCDChipVar (int mid, int chip, int typ, double var)
00234 {
00235 org.omg.CORBA.portable.InputStream $in = null;
00236 try {
00237 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDChipVar", true);
00238 $out.write_ulong (mid);
00239 $out.write_ulong (chip);
00240 $out.write_ulong (typ);
00241 $out.write_double (var);
00242 $in = _invoke ($out);
00243 return;
00244 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00245 $in = $ex.getInputStream ();
00246 String _id = $ex.getId ();
00247 throw new org.omg.CORBA.MARSHAL (_id);
00248 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00249 modifyABCDChipVar (mid, chip, typ, var );
00250 } finally {
00251 _releaseReply ($in);
00252 }
00253 }
00254
00255 public void modifyABCDVarAllModulesOneChip (int chip, int typ, double var)
00256 {
00257 org.omg.CORBA.portable.InputStream $in = null;
00258 try {
00259 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarAllModulesOneChip", true);
00260 $out.write_ulong (chip);
00261 $out.write_ulong (typ);
00262 $out.write_double (var);
00263 $in = _invoke ($out);
00264 return;
00265 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00266 $in = $ex.getInputStream ();
00267 String _id = $ex.getId ();
00268 throw new org.omg.CORBA.MARSHAL (_id);
00269 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00270 modifyABCDVarAllModulesOneChip (chip, typ, var );
00271 } finally {
00272 _releaseReply ($in);
00273 }
00274 }
00275
00276 public void modifyABCDVarROD (int typ, double var, Sct_SctApi.BankType[] banks)
00277 {
00278 org.omg.CORBA.portable.InputStream $in = null;
00279 try {
00280 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarROD", true);
00281 $out.write_ulong (typ);
00282 $out.write_double (var);
00283 Sct_SctApi.BankListHelper.write ($out, banks);
00284 $in = _invoke ($out);
00285 return;
00286 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00287 $in = $ex.getInputStream ();
00288 String _id = $ex.getId ();
00289 throw new org.omg.CORBA.MARSHAL (_id);
00290 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00291 modifyABCDVarROD (typ, var, banks );
00292 } finally {
00293 _releaseReply ($in);
00294 }
00295 }
00296
00297 public void modifyABCDModuleVarROD (int mid, int typ, double var, Sct_SctApi.BankType[] banks)
00298 {
00299 org.omg.CORBA.portable.InputStream $in = null;
00300 try {
00301 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVarROD", true);
00302 $out.write_ulong (mid);
00303 $out.write_ulong (typ);
00304 $out.write_double (var);
00305 Sct_SctApi.BankListHelper.write ($out, banks);
00306 $in = _invoke ($out);
00307 return;
00308 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00309 $in = $ex.getInputStream ();
00310 String _id = $ex.getId ();
00311 throw new org.omg.CORBA.MARSHAL (_id);
00312 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00313 modifyABCDModuleVarROD (mid, typ, var, banks );
00314 } finally {
00315 _releaseReply ($in);
00316 }
00317 }
00318
00319 public void modifyBOCParam (int partition, int crate, int rod, int channel, int type, int val)
00320 {
00321 org.omg.CORBA.portable.InputStream $in = null;
00322 try {
00323 org.omg.CORBA.portable.OutputStream $out = _request ("modifyBOCParam", true);
00324 $out.write_ulong (partition);
00325 $out.write_ulong (crate);
00326 $out.write_ulong (rod);
00327 $out.write_ulong (channel);
00328 $out.write_ulong (type);
00329 $out.write_ulong (val);
00330 $in = _invoke ($out);
00331 return;
00332 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00333 $in = $ex.getInputStream ();
00334 String _id = $ex.getId ();
00335 throw new org.omg.CORBA.MARSHAL (_id);
00336 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00337 modifyBOCParam (partition, crate, rod, channel, type, val );
00338 } finally {
00339 _releaseReply ($in);
00340 }
00341 }
00342
00343
00345 public void getABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00346 {
00347 org.omg.CORBA.portable.InputStream $in = null;
00348 try {
00349 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModules", true);
00350 Sct_SctApi.BankTypeHelper.write ($out, bank);
00351 $in = _invoke ($out);
00352 return;
00353 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00354 $in = $ex.getInputStream ();
00355 String _id = $ex.getId ();
00356 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00357 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00358 else
00359 throw new org.omg.CORBA.MARSHAL (_id);
00360 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00361 getABCDModules (bank );
00362 } finally {
00363 _releaseReply ($in);
00364 }
00365 }
00366
00367 public void getABCDModule (int mid, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00368 {
00369 org.omg.CORBA.portable.InputStream $in = null;
00370 try {
00371 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModule", true);
00372 $out.write_ulong (mid);
00373 Sct_SctApi.BankTypeHelper.write ($out, bank);
00374 $in = _invoke ($out);
00375 return;
00376 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00377 $in = $ex.getInputStream ();
00378 String _id = $ex.getId ();
00379 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00380 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00381 else
00382 throw new org.omg.CORBA.MARSHAL (_id);
00383 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00384 getABCDModule (mid, bank );
00385 } finally {
00386 _releaseReply ($in);
00387 }
00388 }
00389
00390 public void setAutoUpdateBanks (Sct_SctApi.BankType[] banks)
00391 {
00392 org.omg.CORBA.portable.InputStream $in = null;
00393 try {
00394 org.omg.CORBA.portable.OutputStream $out = _request ("setAutoUpdateBanks", true);
00395 Sct_SctApi.BankListHelper.write ($out, banks);
00396 $in = _invoke ($out);
00397 return;
00398 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00399 $in = $ex.getInputStream ();
00400 String _id = $ex.getId ();
00401 throw new org.omg.CORBA.MARSHAL (_id);
00402 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00403 setAutoUpdateBanks (banks );
00404 } finally {
00405 _releaseReply ($in);
00406 }
00407 }
00408
00409 public void setABCDModule (int mid, Sct_SctApi.BankType[] banks) throws Sct_SctApi.SctApiException
00410 {
00411 org.omg.CORBA.portable.InputStream $in = null;
00412 try {
00413 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModule", true);
00414 $out.write_ulong (mid);
00415 Sct_SctApi.BankListHelper.write ($out, banks);
00416 $in = _invoke ($out);
00417 return;
00418 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00419 $in = $ex.getInputStream ();
00420 String _id = $ex.getId ();
00421 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00422 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00423 else
00424 throw new org.omg.CORBA.MARSHAL (_id);
00425 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00426 setABCDModule (mid, banks );
00427 } finally {
00428 _releaseReply ($in);
00429 }
00430 }
00431
00432 public void setABCDModules (Sct_SctApi.BankType[] bank) throws Sct_SctApi.SctApiException
00433 {
00434 org.omg.CORBA.portable.InputStream $in = null;
00435 try {
00436 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModules", true);
00437 Sct_SctApi.BankListHelper.write ($out, bank);
00438 $in = _invoke ($out);
00439 return;
00440 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00441 $in = $ex.getInputStream ();
00442 String _id = $ex.getId ();
00443 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00444 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00445 else
00446 throw new org.omg.CORBA.MARSHAL (_id);
00447 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00448 setABCDModules (bank );
00449 } finally {
00450 _releaseReply ($in);
00451 }
00452 }
00453
00454 public void copyABCDModule (int mid, Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00455 {
00456 org.omg.CORBA.portable.InputStream $in = null;
00457 try {
00458 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModule", true);
00459 $out.write_ulong (mid);
00460 Sct_SctApi.BankTypeHelper.write ($out, from);
00461 Sct_SctApi.BankListHelper.write ($out, to);
00462 $in = _invoke ($out);
00463 return;
00464 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00465 $in = $ex.getInputStream ();
00466 String _id = $ex.getId ();
00467 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00468 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00469 else
00470 throw new org.omg.CORBA.MARSHAL (_id);
00471 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00472 copyABCDModule (mid, from, to );
00473 } finally {
00474 _releaseReply ($in);
00475 }
00476 }
00477
00478 public void copyABCDModules (Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00479 {
00480 org.omg.CORBA.portable.InputStream $in = null;
00481 try {
00482 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModules", true);
00483 Sct_SctApi.BankTypeHelper.write ($out, from);
00484 Sct_SctApi.BankListHelper.write ($out, to);
00485 $in = _invoke ($out);
00486 return;
00487 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00488 $in = $ex.getInputStream ();
00489 String _id = $ex.getId ();
00490 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00491 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00492 else
00493 throw new org.omg.CORBA.MARSHAL (_id);
00494 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00495 copyABCDModules (from, to );
00496 } finally {
00497 _releaseReply ($in);
00498 }
00499 }
00500
00501 public void sendABCDModule (int mid, Sct_SctApi.BankType bank, int type) throws Sct_SctApi.SctApiException
00502 {
00503 org.omg.CORBA.portable.InputStream $in = null;
00504 try {
00505 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModule", true);
00506 $out.write_ulong (mid);
00507 Sct_SctApi.BankTypeHelper.write ($out, bank);
00508 $out.write_ulong (type);
00509 $in = _invoke ($out);
00510 return;
00511 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00512 $in = $ex.getInputStream ();
00513 String _id = $ex.getId ();
00514 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00515 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00516 else
00517 throw new org.omg.CORBA.MARSHAL (_id);
00518 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00519 sendABCDModule (mid, bank, type );
00520 } finally {
00521 _releaseReply ($in);
00522 }
00523 }
00524
00525 public void sendABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00526 {
00527 org.omg.CORBA.portable.InputStream $in = null;
00528 try {
00529 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModules", true);
00530 Sct_SctApi.BankTypeHelper.write ($out, bank);
00531 $in = _invoke ($out);
00532 return;
00533 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00534 $in = $ex.getInputStream ();
00535 String _id = $ex.getId ();
00536 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00537 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00538 else
00539 throw new org.omg.CORBA.MARSHAL (_id);
00540 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00541 sendABCDModules (bank );
00542 } finally {
00543 _releaseReply ($in);
00544 }
00545 }
00546
00547 public void storeModuleConfigurations (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00548 {
00549 org.omg.CORBA.portable.InputStream $in = null;
00550 try {
00551 org.omg.CORBA.portable.OutputStream $out = _request ("storeModuleConfigurations", true);
00552 Sct_SctApi.BankTypeHelper.write ($out, bank);
00553 $in = _invoke ($out);
00554 return;
00555 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00556 $in = $ex.getInputStream ();
00557 String _id = $ex.getId ();
00558 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00559 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00560 else
00561 throw new org.omg.CORBA.MARSHAL (_id);
00562 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00563 storeModuleConfigurations (bank );
00564 } finally {
00565 _releaseReply ($in);
00566 }
00567 }
00568
00569 public void storeBOCConfigurations () throws Sct_SctApi.SctApiException
00570 {
00571 org.omg.CORBA.portable.InputStream $in = null;
00572 try {
00573 org.omg.CORBA.portable.OutputStream $out = _request ("storeBOCConfigurations", true);
00574 $in = _invoke ($out);
00575 return;
00576 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00577 $in = $ex.getInputStream ();
00578 String _id = $ex.getId ();
00579 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00580 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00581 else
00582 throw new org.omg.CORBA.MARSHAL (_id);
00583 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00584 storeBOCConfigurations ( );
00585 } finally {
00586 _releaseReply ($in);
00587 }
00588 }
00589
00590 public void configureAllModules () throws Sct_SctApi.SctApiException
00591 {
00592 org.omg.CORBA.portable.InputStream $in = null;
00593 try {
00594 org.omg.CORBA.portable.OutputStream $out = _request ("configureAllModules", true);
00595 $in = _invoke ($out);
00596 return;
00597 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00598 $in = $ex.getInputStream ();
00599 String _id = $ex.getId ();
00600 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00601 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00602 else
00603 throw new org.omg.CORBA.MARSHAL (_id);
00604 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00605 configureAllModules ( );
00606 } finally {
00607 _releaseReply ($in);
00608 }
00609 }
00610
00611
00613 public sctConf.ABCDModule retrieveModule (int mid)
00614 {
00615 org.omg.CORBA.portable.InputStream $in = null;
00616 try {
00617 org.omg.CORBA.portable.OutputStream $out = _request ("retrieveModule", true);
00618 $out.write_ulong (mid);
00619 $in = _invoke ($out);
00620 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00621 return $result;
00622 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00623 $in = $ex.getInputStream ();
00624 String _id = $ex.getId ();
00625 throw new org.omg.CORBA.MARSHAL (_id);
00626 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00627 return retrieveModule (mid );
00628 } finally {
00629 _releaseReply ($in);
00630 }
00631 }
00632
00633 public sctConf.BOCChannelConfig[] currentBOCSetup (int partition, int crate, int rod)
00634 {
00635 org.omg.CORBA.portable.InputStream $in = null;
00636 try {
00637 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCSetup", true);
00638 $out.write_ulong (partition);
00639 $out.write_ulong (crate);
00640 $out.write_ulong (rod);
00641 $in = _invoke ($out);
00642 sctConf.BOCChannelConfig $result[] = Sct_SctApi.BOCChannelListHelper.read ($in);
00643 return $result;
00644 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00645 $in = $ex.getInputStream ();
00646 String _id = $ex.getId ();
00647 throw new org.omg.CORBA.MARSHAL (_id);
00648 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00649 return currentBOCSetup (partition, crate, rod );
00650 } finally {
00651 _releaseReply ($in);
00652 }
00653 }
00654
00655 public sctConf.BOCGlobalConfig currentBOCRegisters (int partition, int crate, int rod)
00656 {
00657 org.omg.CORBA.portable.InputStream $in = null;
00658 try {
00659 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCRegisters", true);
00660 $out.write_ulong (partition);
00661 $out.write_ulong (crate);
00662 $out.write_ulong (rod);
00663 $in = _invoke ($out);
00664 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
00665 return $result;
00666 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00667 $in = $ex.getInputStream ();
00668 String _id = $ex.getId ();
00669 throw new org.omg.CORBA.MARSHAL (_id);
00670 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00671 return currentBOCRegisters (partition, crate, rod );
00672 } finally {
00673 _releaseReply ($in);
00674 }
00675 }
00676
00677 public void configureBOC (int partition, int crate, int rod)
00678 {
00679 org.omg.CORBA.portable.InputStream $in = null;
00680 try {
00681 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
00682 $out.write_ulong (partition);
00683 $out.write_ulong (crate);
00684 $out.write_ulong (rod);
00685 $in = _invoke ($out);
00686 return;
00687 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00688 $in = $ex.getInputStream ();
00689 String _id = $ex.getId ();
00690 throw new org.omg.CORBA.MARSHAL (_id);
00691 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00692 configureBOC (partition, crate, rod );
00693 } finally {
00694 _releaseReply ($in);
00695 }
00696 }
00697
00698 public double[] getBOCMonitorArray (int partition, int crate, int rod)
00699 {
00700 org.omg.CORBA.portable.InputStream $in = null;
00701 try {
00702 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCMonitorArray", true);
00703 $out.write_ulong (partition);
00704 $out.write_ulong (crate);
00705 $out.write_ulong (rod);
00706 $in = _invoke ($out);
00707 double $result[] = Sct_SctApi.BOCMonitorSequenceHelper.read ($in);
00708 return $result;
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 return getBOCMonitorArray (partition, crate, rod );
00715 } finally {
00716 _releaseReply ($in);
00717 }
00718 }
00719
00720 public void sendL1A (int partition, int crate, int rod)
00721 {
00722 org.omg.CORBA.portable.InputStream $in = null;
00723 try {
00724 org.omg.CORBA.portable.OutputStream $out = _request ("sendL1A", true);
00725 $out.write_ulong (partition);
00726 $out.write_ulong (crate);
00727 $out.write_ulong (rod);
00728 $in = _invoke ($out);
00729 return;
00730 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00731 $in = $ex.getInputStream ();
00732 String _id = $ex.getId ();
00733 throw new org.omg.CORBA.MARSHAL (_id);
00734 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00735 sendL1A (partition, crate, rod );
00736 } finally {
00737 _releaseReply ($in);
00738 }
00739 }
00740
00741 public void sendRodTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
00742 {
00743 org.omg.CORBA.portable.InputStream $in = null;
00744 try {
00745 org.omg.CORBA.portable.OutputStream $out = _request ("sendRodTrigger", true);
00746 $out.write_ulong (partition);
00747 $out.write_ulong (crate);
00748 $out.write_ulong (rod);
00749 Sct_SctApi.TriggerHelper.write ($out, trig);
00750 $in = _invoke ($out);
00751 return;
00752 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00753 $in = $ex.getInputStream ();
00754 String _id = $ex.getId ();
00755 throw new org.omg.CORBA.MARSHAL (_id);
00756 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00757 sendRodTrigger (partition, crate, rod, trig );
00758 } finally {
00759 _releaseReply ($in);
00760 }
00761 }
00762
00763
00764
00765 public void timSetFrequency (int partition, int crate, double trigFreq, double rstFreq)
00766 {
00767 org.omg.CORBA.portable.InputStream $in = null;
00768 try {
00769 org.omg.CORBA.portable.OutputStream $out = _request ("timSetFrequency", true);
00770 $out.write_ulong (partition);
00771 $out.write_ulong (crate);
00772 $out.write_double (trigFreq);
00773 $out.write_double (rstFreq);
00774 $in = _invoke ($out);
00775 return;
00776 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00777 $in = $ex.getInputStream ();
00778 String _id = $ex.getId ();
00779 throw new org.omg.CORBA.MARSHAL (_id);
00780 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00781 timSetFrequency (partition, crate, trigFreq, rstFreq );
00782 } finally {
00783 _releaseReply ($in);
00784 }
00785 }
00786
00787 public void freeTriggers (int partition, int crate)
00788 {
00789 org.omg.CORBA.portable.InputStream $in = null;
00790 try {
00791 org.omg.CORBA.portable.OutputStream $out = _request ("freeTriggers", true);
00792 $out.write_ulong (partition);
00793 $out.write_ulong (crate);
00794 $in = _invoke ($out);
00795 return;
00796 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00797 $in = $ex.getInputStream ();
00798 String _id = $ex.getId ();
00799 throw new org.omg.CORBA.MARSHAL (_id);
00800 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00801 freeTriggers (partition, crate );
00802 } finally {
00803 _releaseReply ($in);
00804 }
00805 }
00806
00807 public void stopTriggers (int partition, int crate)
00808 {
00809 org.omg.CORBA.portable.InputStream $in = null;
00810 try {
00811 org.omg.CORBA.portable.OutputStream $out = _request ("stopTriggers", true);
00812 $out.write_ulong (partition);
00813 $out.write_ulong (crate);
00814 $in = _invoke ($out);
00815 return;
00816 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00817 $in = $ex.getInputStream ();
00818 String _id = $ex.getId ();
00819 throw new org.omg.CORBA.MARSHAL (_id);
00820 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00821 stopTriggers (partition, crate );
00822 } finally {
00823 _releaseReply ($in);
00824 }
00825 }
00826
00827 public void timL1A (int partition, int crate)
00828 {
00829 org.omg.CORBA.portable.InputStream $in = null;
00830 try {
00831 org.omg.CORBA.portable.OutputStream $out = _request ("timL1A", true);
00832 $out.write_ulong (partition);
00833 $out.write_ulong (crate);
00834 $in = _invoke ($out);
00835 return;
00836 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00837 $in = $ex.getInputStream ();
00838 String _id = $ex.getId ();
00839 throw new org.omg.CORBA.MARSHAL (_id);
00840 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00841 timL1A (partition, crate );
00842 } finally {
00843 _releaseReply ($in);
00844 }
00845 }
00846
00847 public void timCalL1A (int partition, int crate, short delay)
00848 {
00849 org.omg.CORBA.portable.InputStream $in = null;
00850 try {
00851 org.omg.CORBA.portable.OutputStream $out = _request ("timCalL1A", true);
00852 $out.write_ulong (partition);
00853 $out.write_ulong (crate);
00854 $out.write_short (delay);
00855 $in = _invoke ($out);
00856 return;
00857 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00858 $in = $ex.getInputStream ();
00859 String _id = $ex.getId ();
00860 throw new org.omg.CORBA.MARSHAL (_id);
00861 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00862 timCalL1A (partition, crate, delay );
00863 } finally {
00864 _releaseReply ($in);
00865 }
00866 }
00867
00868 public short timReadRegister (int partition, int crate, short value)
00869 {
00870 org.omg.CORBA.portable.InputStream $in = null;
00871 try {
00872 org.omg.CORBA.portable.OutputStream $out = _request ("timReadRegister", true);
00873 $out.write_ulong (partition);
00874 $out.write_ulong (crate);
00875 $out.write_short (value);
00876 $in = _invoke ($out);
00877 short $result = $in.read_short ();
00878 return $result;
00879 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00880 $in = $ex.getInputStream ();
00881 String _id = $ex.getId ();
00882 throw new org.omg.CORBA.MARSHAL (_id);
00883 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00884 return timReadRegister (partition, crate, value );
00885 } finally {
00886 _releaseReply ($in);
00887 }
00888 }
00889
00890 public void timWriteRegister (int partition, int crate, short reg, short value)
00891 {
00892 org.omg.CORBA.portable.InputStream $in = null;
00893 try {
00894 org.omg.CORBA.portable.OutputStream $out = _request ("timWriteRegister", true);
00895 $out.write_ulong (partition);
00896 $out.write_ulong (crate);
00897 $out.write_short (reg);
00898 $out.write_short (value);
00899 $in = _invoke ($out);
00900 return;
00901 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00902 $in = $ex.getInputStream ();
00903 String _id = $ex.getId ();
00904 throw new org.omg.CORBA.MARSHAL (_id);
00905 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00906 timWriteRegister (partition, crate, reg, value );
00907 } finally {
00908 _releaseReply ($in);
00909 }
00910 }
00911
00912 public int sendTriggers (int partition, int crate, Sct_SctApi.Trigger trig, int ntriggers, short point_in_scan)
00913 {
00914 org.omg.CORBA.portable.InputStream $in = null;
00915 try {
00916 org.omg.CORBA.portable.OutputStream $out = _request ("sendTriggers", true);
00917 $out.write_ulong (partition);
00918 $out.write_ulong (crate);
00919 Sct_SctApi.TriggerHelper.write ($out, trig);
00920 $out.write_ulong (ntriggers);
00921 $out.write_ushort (point_in_scan);
00922 $in = _invoke ($out);
00923 int $result = $in.read_ulong ();
00924 return $result;
00925 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00926 $in = $ex.getInputStream ();
00927 String _id = $ex.getId ();
00928 throw new org.omg.CORBA.MARSHAL (_id);
00929 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00930 return sendTriggers (partition, crate, trig, ntriggers, point_in_scan );
00931 } finally {
00932 _releaseReply ($in);
00933 }
00934 }
00935
00936 public Sct_SctApi.AutoConfigResult[] autoConfigureScan () throws Sct_SctApi.SctApiException
00937 {
00938 org.omg.CORBA.portable.InputStream $in = null;
00939 try {
00940 org.omg.CORBA.portable.OutputStream $out = _request ("autoConfigureScan", true);
00941 $in = _invoke ($out);
00942 Sct_SctApi.AutoConfigResult $result[] = Sct_SctApi.AutoResultListHelper.read ($in);
00943 return $result;
00944 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00945 $in = $ex.getInputStream ();
00946 String _id = $ex.getId ();
00947 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00948 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00949 else
00950 throw new org.omg.CORBA.MARSHAL (_id);
00951 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00952 return autoConfigureScan ( );
00953 } finally {
00954 _releaseReply ($in);
00955 }
00956 }
00957
00958 public boolean checkAllModulesProbe (String chars) throws Sct_SctApi.SctApiException
00959 {
00960 org.omg.CORBA.portable.InputStream $in = null;
00961 try {
00962 org.omg.CORBA.portable.OutputStream $out = _request ("checkAllModulesProbe", true);
00963 $out.write_string (chars);
00964 $in = _invoke ($out);
00965 boolean $result = $in.read_boolean ();
00966 return $result;
00967 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00968 $in = $ex.getInputStream ();
00969 String _id = $ex.getId ();
00970 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00971 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00972 else
00973 throw new org.omg.CORBA.MARSHAL (_id);
00974 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00975 return checkAllModulesProbe (chars );
00976 } finally {
00977 _releaseReply ($in);
00978 }
00979 }
00980
00981 public short[] probe (int partition, int crate, int rod)
00982 {
00983 org.omg.CORBA.portable.InputStream $in = null;
00984 try {
00985 org.omg.CORBA.portable.OutputStream $out = _request ("probe", true);
00986 $out.write_ulong (partition);
00987 $out.write_ulong (crate);
00988 $out.write_ulong (rod);
00989 $in = _invoke ($out);
00990 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
00991 return $result;
00992 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00993 $in = $ex.getInputStream ();
00994 String _id = $ex.getId ();
00995 throw new org.omg.CORBA.MARSHAL (_id);
00996 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00997 return probe (partition, crate, rod );
00998 } finally {
00999 _releaseReply ($in);
01000 }
01001 }
01002
01003 public short[] probeHarness (int partition, int crate, int rod, int harness)
01004 {
01005 org.omg.CORBA.portable.InputStream $in = null;
01006 try {
01007 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarness", true);
01008 $out.write_ulong (partition);
01009 $out.write_ulong (crate);
01010 $out.write_ulong (rod);
01011 $out.write_ulong (harness);
01012 $in = _invoke ($out);
01013 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01014 return $result;
01015 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01016 $in = $ex.getInputStream ();
01017 String _id = $ex.getId ();
01018 throw new org.omg.CORBA.MARSHAL (_id);
01019 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01020 return probeHarness (partition, crate, rod, harness );
01021 } finally {
01022 _releaseReply ($in);
01023 }
01024 }
01025
01026 public short[] probeWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
01027 {
01028 org.omg.CORBA.portable.InputStream $in = null;
01029 try {
01030 org.omg.CORBA.portable.OutputStream $out = _request ("probeWithTrigger", true);
01031 $out.write_ulong (partition);
01032 $out.write_ulong (crate);
01033 $out.write_ulong (rod);
01034 Sct_SctApi.TriggerHelper.write ($out, trig);
01035 $in = _invoke ($out);
01036 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01037 return $result;
01038 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01039 $in = $ex.getInputStream ();
01040 String _id = $ex.getId ();
01041 throw new org.omg.CORBA.MARSHAL (_id);
01042 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01043 return probeWithTrigger (partition, crate, rod, trig );
01044 } finally {
01045 _releaseReply ($in);
01046 }
01047 }
01048
01049 public short[] probeHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig, int harness)
01050 {
01051 org.omg.CORBA.portable.InputStream $in = null;
01052 try {
01053 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarnessWithTrigger", true);
01054 $out.write_ulong (partition);
01055 $out.write_ulong (crate);
01056 $out.write_ulong (rod);
01057 Sct_SctApi.TriggerHelper.write ($out, trig);
01058 $out.write_ulong (harness);
01059 $in = _invoke ($out);
01060 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01061 return $result;
01062 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01063 $in = $ex.getInputStream ();
01064 String _id = $ex.getId ();
01065 throw new org.omg.CORBA.MARSHAL (_id);
01066 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01067 return probeHarnessWithTrigger (partition, crate, rod, trig, harness );
01068 } finally {
01069 _releaseReply ($in);
01070 }
01071 }
01072
01073 public short[][] probeScanHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Scan trig, int harness)
01074 {
01075 org.omg.CORBA.portable.InputStream $in = null;
01076 try {
01077 org.omg.CORBA.portable.OutputStream $out = _request ("probeScanHarnessWithTrigger", true);
01078 $out.write_ulong (partition);
01079 $out.write_ulong (crate);
01080 $out.write_ulong (rod);
01081 Sct_SctApi.ScanHelper.write ($out, trig);
01082 $out.write_ulong (harness);
01083 $in = _invoke ($out);
01084 short $result[][] = Sct_SctApi.CharMatrixHelper.read ($in);
01085 return $result;
01086 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01087 $in = $ex.getInputStream ();
01088 String _id = $ex.getId ();
01089 throw new org.omg.CORBA.MARSHAL (_id);
01090 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01091 return probeScanHarnessWithTrigger (partition, crate, rod, trig, harness );
01092 } finally {
01093 _releaseReply ($in);
01094 }
01095 }
01096
01097 public void initialiseAll (int runNumber) throws Sct_SctApi.SctApiException
01098 {
01099 org.omg.CORBA.portable.InputStream $in = null;
01100 try {
01101 org.omg.CORBA.portable.OutputStream $out = _request ("initialiseAll", true);
01102 $out.write_ulong (runNumber);
01103 $in = _invoke ($out);
01104 return;
01105 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01106 $in = $ex.getInputStream ();
01107 String _id = $ex.getId ();
01108 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01109 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01110 else
01111 throw new org.omg.CORBA.MARSHAL (_id);
01112 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01113 initialiseAll (runNumber );
01114 } finally {
01115 _releaseReply ($in);
01116 }
01117 }
01118
01119 public void shutdownAll () throws Sct_SctApi.SctApiException
01120 {
01121 org.omg.CORBA.portable.InputStream $in = null;
01122 try {
01123 org.omg.CORBA.portable.OutputStream $out = _request ("shutdownAll", true);
01124 $in = _invoke ($out);
01125 return;
01126 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01127 $in = $ex.getInputStream ();
01128 String _id = $ex.getId ();
01129 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01130 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01131 else
01132 throw new org.omg.CORBA.MARSHAL (_id);
01133 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01134 shutdownAll ( );
01135 } finally {
01136 _releaseReply ($in);
01137 }
01138 }
01139
01140 public String status ()
01141 {
01142 org.omg.CORBA.portable.InputStream $in = null;
01143 try {
01144 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
01145 $in = _invoke ($out);
01146 String $result = $in.read_string ();
01147 return $result;
01148 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01149 $in = $ex.getInputStream ();
01150 String _id = $ex.getId ();
01151 throw new org.omg.CORBA.MARSHAL (_id);
01152 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01153 return status ( );
01154 } finally {
01155 _releaseReply ($in);
01156 }
01157 }
01158
01159 public void setRunNumber (int newRun)
01160 {
01161 org.omg.CORBA.portable.InputStream $in = null;
01162 try {
01163 org.omg.CORBA.portable.OutputStream $out = _request ("setRunNumber", true);
01164 $out.write_ulong (newRun);
01165 $in = _invoke ($out);
01166 return;
01167 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01168 $in = $ex.getInputStream ();
01169 String _id = $ex.getId ();
01170 throw new org.omg.CORBA.MARSHAL (_id);
01171 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01172 setRunNumber (newRun );
01173 } finally {
01174 _releaseReply ($in);
01175 }
01176 }
01177
01178 public void setScanNumber (int newScan)
01179 {
01180 org.omg.CORBA.portable.InputStream $in = null;
01181 try {
01182 org.omg.CORBA.portable.OutputStream $out = _request ("setScanNumber", true);
01183 $out.write_ulong (newScan);
01184 $in = _invoke ($out);
01185 return;
01186 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01187 $in = $ex.getInputStream ();
01188 String _id = $ex.getId ();
01189 throw new org.omg.CORBA.MARSHAL (_id);
01190 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01191 setScanNumber (newScan );
01192 } finally {
01193 _releaseReply ($in);
01194 }
01195 }
01196
01197 public int getRunNumber ()
01198 {
01199 org.omg.CORBA.portable.InputStream $in = null;
01200 try {
01201 org.omg.CORBA.portable.OutputStream $out = _request ("getRunNumber", true);
01202 $in = _invoke ($out);
01203 int $result = $in.read_ulong ();
01204 return $result;
01205 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01206 $in = $ex.getInputStream ();
01207 String _id = $ex.getId ();
01208 throw new org.omg.CORBA.MARSHAL (_id);
01209 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01210 return getRunNumber ( );
01211 } finally {
01212 _releaseReply ($in);
01213 }
01214 }
01215
01216 public int getScanNumber ()
01217 {
01218 org.omg.CORBA.portable.InputStream $in = null;
01219 try {
01220 org.omg.CORBA.portable.OutputStream $out = _request ("getScanNumber", true);
01221 $in = _invoke ($out);
01222 int $result = $in.read_ulong ();
01223 return $result;
01224 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01225 $in = $ex.getInputStream ();
01226 String _id = $ex.getId ();
01227 throw new org.omg.CORBA.MARSHAL (_id);
01228 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01229 return getScanNumber ( );
01230 } finally {
01231 _releaseReply ($in);
01232 }
01233 }
01234
01235 public boolean changeRunMode (Sct_SctApi.RunType mode)
01236 {
01237 org.omg.CORBA.portable.InputStream $in = null;
01238 try {
01239 org.omg.CORBA.portable.OutputStream $out = _request ("changeRunMode", true);
01240 Sct_SctApi.RunTypeHelper.write ($out, mode);
01241 $in = _invoke ($out);
01242 boolean $result = $in.read_boolean ();
01243 return $result;
01244 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01245 $in = $ex.getInputStream ();
01246 String _id = $ex.getId ();
01247 throw new org.omg.CORBA.MARSHAL (_id);
01248 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01249 return changeRunMode (mode );
01250 } finally {
01251 _releaseReply ($in);
01252 }
01253 }
01254
01255 public boolean changeEventFormat (Sct_SctApi.EventFormatType format)
01256 {
01257 org.omg.CORBA.portable.InputStream $in = null;
01258 try {
01259 org.omg.CORBA.portable.OutputStream $out = _request ("changeEventFormat", true);
01260 Sct_SctApi.EventFormatTypeHelper.write ($out, format);
01261 $in = _invoke ($out);
01262 boolean $result = $in.read_boolean ();
01263 return $result;
01264 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01265 $in = $ex.getInputStream ();
01266 String _id = $ex.getId ();
01267 throw new org.omg.CORBA.MARSHAL (_id);
01268 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01269 return changeEventFormat (format );
01270 } finally {
01271 _releaseReply ($in);
01272 }
01273 }
01274
01275 public void standardRegisterDumpAll ()
01276 {
01277 org.omg.CORBA.portable.InputStream $in = null;
01278 try {
01279 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpAll", true);
01280 $in = _invoke ($out);
01281 return;
01282 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01283 $in = $ex.getInputStream ();
01284 String _id = $ex.getId ();
01285 throw new org.omg.CORBA.MARSHAL (_id);
01286 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01287 standardRegisterDumpAll ( );
01288 } finally {
01289 _releaseReply ($in);
01290 }
01291 }
01292
01293 public void lasersOff ()
01294 {
01295 org.omg.CORBA.portable.InputStream $in = null;
01296 try {
01297 org.omg.CORBA.portable.OutputStream $out = _request ("lasersOff", true);
01298 $in = _invoke ($out);
01299 return;
01300 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01301 $in = $ex.getInputStream ();
01302 String _id = $ex.getId ();
01303 throw new org.omg.CORBA.MARSHAL (_id);
01304 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01305 lasersOff ( );
01306 } finally {
01307 _releaseReply ($in);
01308 }
01309 }
01310
01311 public String[] getModuleList ()
01312 {
01313 org.omg.CORBA.portable.InputStream $in = null;
01314 try {
01315 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleList", true);
01316 $in = _invoke ($out);
01317 String $result[] = sctConf.ModuleListHelper.read ($in);
01318 return $result;
01319 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01320 $in = $ex.getInputStream ();
01321 String _id = $ex.getId ();
01322 throw new org.omg.CORBA.MARSHAL (_id);
01323 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01324 return getModuleList ( );
01325 } finally {
01326 _releaseReply ($in);
01327 }
01328 }
01329
01330 public void unsetDebugOption (String opt)
01331 {
01332 org.omg.CORBA.portable.InputStream $in = null;
01333 try {
01334 org.omg.CORBA.portable.OutputStream $out = _request ("unsetDebugOption", true);
01335 $out.write_string (opt);
01336 $in = _invoke ($out);
01337 return;
01338 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01339 $in = $ex.getInputStream ();
01340 String _id = $ex.getId ();
01341 throw new org.omg.CORBA.MARSHAL (_id);
01342 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01343 unsetDebugOption (opt );
01344 } finally {
01345 _releaseReply ($in);
01346 }
01347 }
01348
01349 public void setDebugOption (String opt)
01350 {
01351 org.omg.CORBA.portable.InputStream $in = null;
01352 try {
01353 org.omg.CORBA.portable.OutputStream $out = _request ("setDebugOption", true);
01354 $out.write_string (opt);
01355 $in = _invoke ($out);
01356 return;
01357 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01358 $in = $ex.getInputStream ();
01359 String _id = $ex.getId ();
01360 throw new org.omg.CORBA.MARSHAL (_id);
01361 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01362 setDebugOption (opt );
01363 } finally {
01364 _releaseReply ($in);
01365 }
01366 }
01367
01368 public String[] listDebugOptions ()
01369 {
01370 org.omg.CORBA.portable.InputStream $in = null;
01371 try {
01372 org.omg.CORBA.portable.OutputStream $out = _request ("listDebugOptions", true);
01373 $in = _invoke ($out);
01374 String $result[] = Sct_SctApi.DebugOptionListHelper.read ($in);
01375 return $result;
01376 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01377 $in = $ex.getInputStream ();
01378 String _id = $ex.getId ();
01379 throw new org.omg.CORBA.MARSHAL (_id);
01380 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01381 return listDebugOptions ( );
01382 } finally {
01383 _releaseReply ($in);
01384 }
01385 }
01386
01387 public void unsetBusy ()
01388 {
01389 org.omg.CORBA.portable.InputStream $in = null;
01390 try {
01391 org.omg.CORBA.portable.OutputStream $out = _request ("unsetBusy", true);
01392 $in = _invoke ($out);
01393 return;
01394 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01395 $in = $ex.getInputStream ();
01396 String _id = $ex.getId ();
01397 throw new org.omg.CORBA.MARSHAL (_id);
01398 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01399 unsetBusy ( );
01400 } finally {
01401 _releaseReply ($in);
01402 }
01403 }
01404
01405
01406 private static String[] __ids = {
01407 "IDL:Sct_SctApi/CommonToTopAndCrate:1.0",
01408 "IDL:Sct_SctApi/DoScanMethods:1.0",
01409 "IDL:Sct_SctApi/ModifyABCDMethods:1.0",
01410 "IDL:Sct_SctApi/ModuleConfigurationMethods:1.0",
01411 "IDL:Sct_SctApi/RetrievingConfigurationMethods:1.0",
01412 "IDL:Sct_SctApi/BOCConfigurationMethods:1.0",
01413 "IDL:Sct_SctApi/SavingConfigurationMethods:1.0",
01414 "IDL:Sct_SctApi/TriggerRODLevel:1.0",
01415 "IDL:Sct_SctApi/TriggerTIMLevel:1.0",
01416 "IDL:Sct_SctApi/AutoConfigure:1.0",
01417 "IDL:Sct_SctApi/ProbeChecks:1.0",
01418 "IDL:Sct_SctApi/ProbeMethods:1.0",
01419 "IDL:Sct_SctApi/RunControl:1.0",
01420 "IDL:Sct_SctApi/ModuleInquiry:1.0",
01421 "IDL:Sct_SctApi/DebugOptionsCommon:1.0"};
01422
01423 public String[] _ids ()
01424 {
01425 return (String[])__ids.clone ();
01426 }
01427
01428 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
01429 {
01430 String str = s.readUTF ();
01431 String[] args = null;
01432 java.util.Properties props = null;
01433 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
01434 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
01435 _set_delegate (delegate);
01436 }
01437
01438 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
01439 {
01440 String[] args = null;
01441 java.util.Properties props = null;
01442 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
01443 s.writeUTF (str);
01444 }
01445 }