_CommonToTopAndCrateStub.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class _CommonToTopAndCrateStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.CommonToTopAndCrate
00012 {
00013 
00014 
00015   // Scans
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   } // doScan
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   } // doRawScan
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   } // startAsyncScan
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   } // abortScan
00104 
00105 
00106   // postcondition: hasFinishedScanning()==true;
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   } // hasFinishedScanning
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   } // modifyABCDMask
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   } // modifyABCDTrims
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   } // modifyABCDRC
00189 
00190 
00191   // must be different prototypes
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   } // modifyABCDVar
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   } // modifyABCDModuleVar
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   } // modifyABCDChipVar
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   } // modifyABCDVarAllModulesOneChip
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   } // modifyABCDVarROD
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   } // modifyABCDModuleVarROD
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   } // modifyBOCParam
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   } // getABCDModules
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   } // getABCDModule
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   } // setAutoUpdateBanks
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   } // setABCDModule
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   } // setABCDModules
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   } // copyABCDModule
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   } // copyABCDModules
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   } // sendABCDModule
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   } // sendABCDModules
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   } // storeModuleConfigurations
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   } // storeBOCConfigurations
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   } // configureAllModules
00610 
00611   public void loadModuleConfigurations () throws Sct_SctApi.SctApiException
00612   {
00613             org.omg.CORBA.portable.InputStream $in = null;
00614             try {
00615                 org.omg.CORBA.portable.OutputStream $out = _request ("loadModuleConfigurations", true);
00616                 $in = _invoke ($out);
00617                 return;
00618             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00619                 $in = $ex.getInputStream ();
00620                 String _id = $ex.getId ();
00621                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00622                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00623                 else
00624                     throw new org.omg.CORBA.MARSHAL (_id);
00625             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00626                 loadModuleConfigurations (        );
00627             } finally {
00628                 _releaseReply ($in);
00629             }
00630   } // loadModuleConfigurations
00631 
00632 
00634   public sctConf.ABCDModule retrieveModule (int mid)
00635   {
00636             org.omg.CORBA.portable.InputStream $in = null;
00637             try {
00638                 org.omg.CORBA.portable.OutputStream $out = _request ("retrieveModule", true);
00639                 $out.write_ulong (mid);
00640                 $in = _invoke ($out);
00641                 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00642                 return $result;
00643             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00644                 $in = $ex.getInputStream ();
00645                 String _id = $ex.getId ();
00646                 throw new org.omg.CORBA.MARSHAL (_id);
00647             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00648                 return retrieveModule (mid        );
00649             } finally {
00650                 _releaseReply ($in);
00651             }
00652   } // retrieveModule
00653 
00654   public sctConf.BOCChannelConfig[] currentBOCSetup (int partition, int crate, int rod)
00655   {
00656             org.omg.CORBA.portable.InputStream $in = null;
00657             try {
00658                 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCSetup", true);
00659                 $out.write_ulong (partition);
00660                 $out.write_ulong (crate);
00661                 $out.write_ulong (rod);
00662                 $in = _invoke ($out);
00663                 sctConf.BOCChannelConfig $result[] = Sct_SctApi.BOCChannelListHelper.read ($in);
00664                 return $result;
00665             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00666                 $in = $ex.getInputStream ();
00667                 String _id = $ex.getId ();
00668                 throw new org.omg.CORBA.MARSHAL (_id);
00669             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00670                 return currentBOCSetup (partition, crate, rod        );
00671             } finally {
00672                 _releaseReply ($in);
00673             }
00674   } // currentBOCSetup
00675 
00676   public sctConf.BOCGlobalConfig currentBOCRegisters (int partition, int crate, int rod)
00677   {
00678             org.omg.CORBA.portable.InputStream $in = null;
00679             try {
00680                 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCRegisters", true);
00681                 $out.write_ulong (partition);
00682                 $out.write_ulong (crate);
00683                 $out.write_ulong (rod);
00684                 $in = _invoke ($out);
00685                 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
00686                 return $result;
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                 return currentBOCRegisters (partition, crate, rod        );
00693             } finally {
00694                 _releaseReply ($in);
00695             }
00696   } // currentBOCRegisters
00697 
00698   public void configureBOC (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 ("configureBOC", true);
00703                 $out.write_ulong (partition);
00704                 $out.write_ulong (crate);
00705                 $out.write_ulong (rod);
00706                 $in = _invoke ($out);
00707                 return;
00708             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00709                 $in = $ex.getInputStream ();
00710                 String _id = $ex.getId ();
00711                 throw new org.omg.CORBA.MARSHAL (_id);
00712             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00713                 configureBOC (partition, crate, rod        );
00714             } finally {
00715                 _releaseReply ($in);
00716             }
00717   } // configureBOC
00718 
00719   public double[] getBOCMonitorArray (int partition, int crate, int rod)
00720   {
00721             org.omg.CORBA.portable.InputStream $in = null;
00722             try {
00723                 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCMonitorArray", true);
00724                 $out.write_ulong (partition);
00725                 $out.write_ulong (crate);
00726                 $out.write_ulong (rod);
00727                 $in = _invoke ($out);
00728                 double $result[] = Sct_SctApi.BOCMonitorSequenceHelper.read ($in);
00729                 return $result;
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                 return getBOCMonitorArray (partition, crate, rod        );
00736             } finally {
00737                 _releaseReply ($in);
00738             }
00739   } // getBOCMonitorArray
00740 
00741   public void sendL1A (int partition, int crate, int rod)
00742   {
00743             org.omg.CORBA.portable.InputStream $in = null;
00744             try {
00745                 org.omg.CORBA.portable.OutputStream $out = _request ("sendL1A", true);
00746                 $out.write_ulong (partition);
00747                 $out.write_ulong (crate);
00748                 $out.write_ulong (rod);
00749                 $in = _invoke ($out);
00750                 return;
00751             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00752                 $in = $ex.getInputStream ();
00753                 String _id = $ex.getId ();
00754                 throw new org.omg.CORBA.MARSHAL (_id);
00755             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00756                 sendL1A (partition, crate, rod        );
00757             } finally {
00758                 _releaseReply ($in);
00759             }
00760   } // sendL1A
00761 
00762   public void sendRodTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
00763   {
00764             org.omg.CORBA.portable.InputStream $in = null;
00765             try {
00766                 org.omg.CORBA.portable.OutputStream $out = _request ("sendRodTrigger", true);
00767                 $out.write_ulong (partition);
00768                 $out.write_ulong (crate);
00769                 $out.write_ulong (rod);
00770                 Sct_SctApi.TriggerHelper.write ($out, trig);
00771                 $in = _invoke ($out);
00772                 return;
00773             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00774                 $in = $ex.getInputStream ();
00775                 String _id = $ex.getId ();
00776                 throw new org.omg.CORBA.MARSHAL (_id);
00777             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00778                 sendRodTrigger (partition, crate, rod, trig        );
00779             } finally {
00780                 _releaseReply ($in);
00781             }
00782   } // sendRodTrigger
00783 
00784 
00785   /* *************  TIM functs **************/
00786   public void timSetFrequency (int partition, int crate, double trigFreq, double rstFreq)
00787   {
00788             org.omg.CORBA.portable.InputStream $in = null;
00789             try {
00790                 org.omg.CORBA.portable.OutputStream $out = _request ("timSetFrequency", true);
00791                 $out.write_ulong (partition);
00792                 $out.write_ulong (crate);
00793                 $out.write_double (trigFreq);
00794                 $out.write_double (rstFreq);
00795                 $in = _invoke ($out);
00796                 return;
00797             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00798                 $in = $ex.getInputStream ();
00799                 String _id = $ex.getId ();
00800                 throw new org.omg.CORBA.MARSHAL (_id);
00801             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00802                 timSetFrequency (partition, crate, trigFreq, rstFreq        );
00803             } finally {
00804                 _releaseReply ($in);
00805             }
00806   } // timSetFrequency
00807 
00808   public void freeTriggers (int partition, int crate)
00809   {
00810             org.omg.CORBA.portable.InputStream $in = null;
00811             try {
00812                 org.omg.CORBA.portable.OutputStream $out = _request ("freeTriggers", true);
00813                 $out.write_ulong (partition);
00814                 $out.write_ulong (crate);
00815                 $in = _invoke ($out);
00816                 return;
00817             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00818                 $in = $ex.getInputStream ();
00819                 String _id = $ex.getId ();
00820                 throw new org.omg.CORBA.MARSHAL (_id);
00821             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00822                 freeTriggers (partition, crate        );
00823             } finally {
00824                 _releaseReply ($in);
00825             }
00826   } // freeTriggers
00827 
00828   public void stopTriggers (int partition, int crate)
00829   {
00830             org.omg.CORBA.portable.InputStream $in = null;
00831             try {
00832                 org.omg.CORBA.portable.OutputStream $out = _request ("stopTriggers", true);
00833                 $out.write_ulong (partition);
00834                 $out.write_ulong (crate);
00835                 $in = _invoke ($out);
00836                 return;
00837             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00838                 $in = $ex.getInputStream ();
00839                 String _id = $ex.getId ();
00840                 throw new org.omg.CORBA.MARSHAL (_id);
00841             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00842                 stopTriggers (partition, crate        );
00843             } finally {
00844                 _releaseReply ($in);
00845             }
00846   } // stopTriggers
00847 
00848   public void timL1A (int partition, int crate)
00849   {
00850             org.omg.CORBA.portable.InputStream $in = null;
00851             try {
00852                 org.omg.CORBA.portable.OutputStream $out = _request ("timL1A", true);
00853                 $out.write_ulong (partition);
00854                 $out.write_ulong (crate);
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                 timL1A (partition, crate        );
00863             } finally {
00864                 _releaseReply ($in);
00865             }
00866   } // timL1A
00867 
00868   public void timCalL1A (int partition, int crate, short delay)
00869   {
00870             org.omg.CORBA.portable.InputStream $in = null;
00871             try {
00872                 org.omg.CORBA.portable.OutputStream $out = _request ("timCalL1A", true);
00873                 $out.write_ulong (partition);
00874                 $out.write_ulong (crate);
00875                 $out.write_short (delay);
00876                 $in = _invoke ($out);
00877                 return;
00878             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00879                 $in = $ex.getInputStream ();
00880                 String _id = $ex.getId ();
00881                 throw new org.omg.CORBA.MARSHAL (_id);
00882             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00883                 timCalL1A (partition, crate, delay        );
00884             } finally {
00885                 _releaseReply ($in);
00886             }
00887   } // timCalL1A
00888 
00889   public short timReadRegister (int partition, int crate, short value)
00890   {
00891             org.omg.CORBA.portable.InputStream $in = null;
00892             try {
00893                 org.omg.CORBA.portable.OutputStream $out = _request ("timReadRegister", true);
00894                 $out.write_ulong (partition);
00895                 $out.write_ulong (crate);
00896                 $out.write_short (value);
00897                 $in = _invoke ($out);
00898                 short $result = $in.read_short ();
00899                 return $result;
00900             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00901                 $in = $ex.getInputStream ();
00902                 String _id = $ex.getId ();
00903                 throw new org.omg.CORBA.MARSHAL (_id);
00904             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00905                 return timReadRegister (partition, crate, value        );
00906             } finally {
00907                 _releaseReply ($in);
00908             }
00909   } // timReadRegister
00910 
00911   public void timWriteRegister (int partition, int crate, short reg, short value)
00912   {
00913             org.omg.CORBA.portable.InputStream $in = null;
00914             try {
00915                 org.omg.CORBA.portable.OutputStream $out = _request ("timWriteRegister", true);
00916                 $out.write_ulong (partition);
00917                 $out.write_ulong (crate);
00918                 $out.write_short (reg);
00919                 $out.write_short (value);
00920                 $in = _invoke ($out);
00921                 return;
00922             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00923                 $in = $ex.getInputStream ();
00924                 String _id = $ex.getId ();
00925                 throw new org.omg.CORBA.MARSHAL (_id);
00926             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00927                 timWriteRegister (partition, crate, reg, value        );
00928             } finally {
00929                 _releaseReply ($in);
00930             }
00931   } // timWriteRegister
00932 
00933   public int sendTriggers (int partition, int crate, Sct_SctApi.Trigger trig, int ntriggers, short point_in_scan)
00934   {
00935             org.omg.CORBA.portable.InputStream $in = null;
00936             try {
00937                 org.omg.CORBA.portable.OutputStream $out = _request ("sendTriggers", true);
00938                 $out.write_ulong (partition);
00939                 $out.write_ulong (crate);
00940                 Sct_SctApi.TriggerHelper.write ($out, trig);
00941                 $out.write_ulong (ntriggers);
00942                 $out.write_ushort (point_in_scan);
00943                 $in = _invoke ($out);
00944                 int $result = $in.read_ulong ();
00945                 return $result;
00946             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00947                 $in = $ex.getInputStream ();
00948                 String _id = $ex.getId ();
00949                 throw new org.omg.CORBA.MARSHAL (_id);
00950             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00951                 return sendTriggers (partition, crate, trig, ntriggers, point_in_scan        );
00952             } finally {
00953                 _releaseReply ($in);
00954             }
00955   } // sendTriggers
00956 
00957   public Sct_SctApi.AutoConfigResult[] autoConfigureScan () throws Sct_SctApi.SctApiException
00958   {
00959             org.omg.CORBA.portable.InputStream $in = null;
00960             try {
00961                 org.omg.CORBA.portable.OutputStream $out = _request ("autoConfigureScan", true);
00962                 $in = _invoke ($out);
00963                 Sct_SctApi.AutoConfigResult $result[] = Sct_SctApi.AutoResultListHelper.read ($in);
00964                 return $result;
00965             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00966                 $in = $ex.getInputStream ();
00967                 String _id = $ex.getId ();
00968                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00969                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00970                 else
00971                     throw new org.omg.CORBA.MARSHAL (_id);
00972             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00973                 return autoConfigureScan (        );
00974             } finally {
00975                 _releaseReply ($in);
00976             }
00977   } // autoConfigureScan
00978 
00979   public boolean checkAllModulesProbe (String chars) throws Sct_SctApi.SctApiException
00980   {
00981             org.omg.CORBA.portable.InputStream $in = null;
00982             try {
00983                 org.omg.CORBA.portable.OutputStream $out = _request ("checkAllModulesProbe", true);
00984                 $out.write_string (chars);
00985                 $in = _invoke ($out);
00986                 boolean $result = $in.read_boolean ();
00987                 return $result;
00988             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00989                 $in = $ex.getInputStream ();
00990                 String _id = $ex.getId ();
00991                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00992                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00993                 else
00994                     throw new org.omg.CORBA.MARSHAL (_id);
00995             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00996                 return checkAllModulesProbe (chars        );
00997             } finally {
00998                 _releaseReply ($in);
00999             }
01000   } // checkAllModulesProbe
01001 
01002   public short[] probe (int partition, int crate, int rod)
01003   {
01004             org.omg.CORBA.portable.InputStream $in = null;
01005             try {
01006                 org.omg.CORBA.portable.OutputStream $out = _request ("probe", true);
01007                 $out.write_ulong (partition);
01008                 $out.write_ulong (crate);
01009                 $out.write_ulong (rod);
01010                 $in = _invoke ($out);
01011                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01012                 return $result;
01013             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01014                 $in = $ex.getInputStream ();
01015                 String _id = $ex.getId ();
01016                 throw new org.omg.CORBA.MARSHAL (_id);
01017             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01018                 return probe (partition, crate, rod        );
01019             } finally {
01020                 _releaseReply ($in);
01021             }
01022   } // probe
01023 
01024   public short[] probeHarness (int partition, int crate, int rod, int harness)
01025   {
01026             org.omg.CORBA.portable.InputStream $in = null;
01027             try {
01028                 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarness", true);
01029                 $out.write_ulong (partition);
01030                 $out.write_ulong (crate);
01031                 $out.write_ulong (rod);
01032                 $out.write_ulong (harness);
01033                 $in = _invoke ($out);
01034                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01035                 return $result;
01036             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01037                 $in = $ex.getInputStream ();
01038                 String _id = $ex.getId ();
01039                 throw new org.omg.CORBA.MARSHAL (_id);
01040             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01041                 return probeHarness (partition, crate, rod, harness        );
01042             } finally {
01043                 _releaseReply ($in);
01044             }
01045   } // probeHarness
01046 
01047   public short[] probeWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
01048   {
01049             org.omg.CORBA.portable.InputStream $in = null;
01050             try {
01051                 org.omg.CORBA.portable.OutputStream $out = _request ("probeWithTrigger", true);
01052                 $out.write_ulong (partition);
01053                 $out.write_ulong (crate);
01054                 $out.write_ulong (rod);
01055                 Sct_SctApi.TriggerHelper.write ($out, trig);
01056                 $in = _invoke ($out);
01057                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01058                 return $result;
01059             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01060                 $in = $ex.getInputStream ();
01061                 String _id = $ex.getId ();
01062                 throw new org.omg.CORBA.MARSHAL (_id);
01063             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01064                 return probeWithTrigger (partition, crate, rod, trig        );
01065             } finally {
01066                 _releaseReply ($in);
01067             }
01068   } // probeWithTrigger
01069 
01070   public short[] probeHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig, int harness)
01071   {
01072             org.omg.CORBA.portable.InputStream $in = null;
01073             try {
01074                 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarnessWithTrigger", true);
01075                 $out.write_ulong (partition);
01076                 $out.write_ulong (crate);
01077                 $out.write_ulong (rod);
01078                 Sct_SctApi.TriggerHelper.write ($out, trig);
01079                 $out.write_ulong (harness);
01080                 $in = _invoke ($out);
01081                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01082                 return $result;
01083             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01084                 $in = $ex.getInputStream ();
01085                 String _id = $ex.getId ();
01086                 throw new org.omg.CORBA.MARSHAL (_id);
01087             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01088                 return probeHarnessWithTrigger (partition, crate, rod, trig, harness        );
01089             } finally {
01090                 _releaseReply ($in);
01091             }
01092   } // probeHarnessWithTrigger
01093 
01094   public short[][] probeScanHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Scan trig, int harness)
01095   {
01096             org.omg.CORBA.portable.InputStream $in = null;
01097             try {
01098                 org.omg.CORBA.portable.OutputStream $out = _request ("probeScanHarnessWithTrigger", true);
01099                 $out.write_ulong (partition);
01100                 $out.write_ulong (crate);
01101                 $out.write_ulong (rod);
01102                 Sct_SctApi.ScanHelper.write ($out, trig);
01103                 $out.write_ulong (harness);
01104                 $in = _invoke ($out);
01105                 short $result[][] = Sct_SctApi.CharMatrixHelper.read ($in);
01106                 return $result;
01107             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01108                 $in = $ex.getInputStream ();
01109                 String _id = $ex.getId ();
01110                 throw new org.omg.CORBA.MARSHAL (_id);
01111             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01112                 return probeScanHarnessWithTrigger (partition, crate, rod, trig, harness        );
01113             } finally {
01114                 _releaseReply ($in);
01115             }
01116   } // probeScanHarnessWithTrigger
01117 
01118   public void initialiseAll (int runNumber) throws Sct_SctApi.SctApiException
01119   {
01120             org.omg.CORBA.portable.InputStream $in = null;
01121             try {
01122                 org.omg.CORBA.portable.OutputStream $out = _request ("initialiseAll", true);
01123                 $out.write_ulong (runNumber);
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                 initialiseAll (runNumber        );
01135             } finally {
01136                 _releaseReply ($in);
01137             }
01138   } // initialiseAll
01139 
01140   public boolean isInitialised ()
01141   {
01142             org.omg.CORBA.portable.InputStream $in = null;
01143             try {
01144                 org.omg.CORBA.portable.OutputStream $out = _request ("isInitialised", true);
01145                 $in = _invoke ($out);
01146                 boolean $result = $in.read_boolean ();
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 isInitialised (        );
01154             } finally {
01155                 _releaseReply ($in);
01156             }
01157   } // isInitialised
01158 
01159   public void shutdownAll () throws Sct_SctApi.SctApiException
01160   {
01161             org.omg.CORBA.portable.InputStream $in = null;
01162             try {
01163                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdownAll", true);
01164                 $in = _invoke ($out);
01165                 return;
01166             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01167                 $in = $ex.getInputStream ();
01168                 String _id = $ex.getId ();
01169                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01170                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01171                 else
01172                     throw new org.omg.CORBA.MARSHAL (_id);
01173             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01174                 shutdownAll (        );
01175             } finally {
01176                 _releaseReply ($in);
01177             }
01178   } // shutdownAll
01179 
01180   public String status ()
01181   {
01182             org.omg.CORBA.portable.InputStream $in = null;
01183             try {
01184                 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
01185                 $in = _invoke ($out);
01186                 String $result = $in.read_string ();
01187                 return $result;
01188             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01189                 $in = $ex.getInputStream ();
01190                 String _id = $ex.getId ();
01191                 throw new org.omg.CORBA.MARSHAL (_id);
01192             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01193                 return status (        );
01194             } finally {
01195                 _releaseReply ($in);
01196             }
01197   } // status
01198 
01199   public void setRunNumber (int newRun)
01200   {
01201             org.omg.CORBA.portable.InputStream $in = null;
01202             try {
01203                 org.omg.CORBA.portable.OutputStream $out = _request ("setRunNumber", true);
01204                 $out.write_ulong (newRun);
01205                 $in = _invoke ($out);
01206                 return;
01207             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01208                 $in = $ex.getInputStream ();
01209                 String _id = $ex.getId ();
01210                 throw new org.omg.CORBA.MARSHAL (_id);
01211             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01212                 setRunNumber (newRun        );
01213             } finally {
01214                 _releaseReply ($in);
01215             }
01216   } // setRunNumber
01217 
01218   public void setScanNumber (int newScan)
01219   {
01220             org.omg.CORBA.portable.InputStream $in = null;
01221             try {
01222                 org.omg.CORBA.portable.OutputStream $out = _request ("setScanNumber", true);
01223                 $out.write_ulong (newScan);
01224                 $in = _invoke ($out);
01225                 return;
01226             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01227                 $in = $ex.getInputStream ();
01228                 String _id = $ex.getId ();
01229                 throw new org.omg.CORBA.MARSHAL (_id);
01230             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01231                 setScanNumber (newScan        );
01232             } finally {
01233                 _releaseReply ($in);
01234             }
01235   } // setScanNumber
01236 
01237   public int getRunNumber ()
01238   {
01239             org.omg.CORBA.portable.InputStream $in = null;
01240             try {
01241                 org.omg.CORBA.portable.OutputStream $out = _request ("getRunNumber", true);
01242                 $in = _invoke ($out);
01243                 int $result = $in.read_ulong ();
01244                 return $result;
01245             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01246                 $in = $ex.getInputStream ();
01247                 String _id = $ex.getId ();
01248                 throw new org.omg.CORBA.MARSHAL (_id);
01249             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01250                 return getRunNumber (        );
01251             } finally {
01252                 _releaseReply ($in);
01253             }
01254   } // getRunNumber
01255 
01256   public int getScanNumber ()
01257   {
01258             org.omg.CORBA.portable.InputStream $in = null;
01259             try {
01260                 org.omg.CORBA.portable.OutputStream $out = _request ("getScanNumber", true);
01261                 $in = _invoke ($out);
01262                 int $result = $in.read_ulong ();
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 getScanNumber (        );
01270             } finally {
01271                 _releaseReply ($in);
01272             }
01273   } // getScanNumber
01274 
01275   public boolean changeRunMode (Sct_SctApi.RunType mode)
01276   {
01277             org.omg.CORBA.portable.InputStream $in = null;
01278             try {
01279                 org.omg.CORBA.portable.OutputStream $out = _request ("changeRunMode", true);
01280                 Sct_SctApi.RunTypeHelper.write ($out, mode);
01281                 $in = _invoke ($out);
01282                 boolean $result = $in.read_boolean ();
01283                 return $result;
01284             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01285                 $in = $ex.getInputStream ();
01286                 String _id = $ex.getId ();
01287                 throw new org.omg.CORBA.MARSHAL (_id);
01288             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01289                 return changeRunMode (mode        );
01290             } finally {
01291                 _releaseReply ($in);
01292             }
01293   } // changeRunMode
01294 
01295   public boolean changeEventFormat (Sct_SctApi.EventFormatType format)
01296   {
01297             org.omg.CORBA.portable.InputStream $in = null;
01298             try {
01299                 org.omg.CORBA.portable.OutputStream $out = _request ("changeEventFormat", true);
01300                 Sct_SctApi.EventFormatTypeHelper.write ($out, format);
01301                 $in = _invoke ($out);
01302                 boolean $result = $in.read_boolean ();
01303                 return $result;
01304             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01305                 $in = $ex.getInputStream ();
01306                 String _id = $ex.getId ();
01307                 throw new org.omg.CORBA.MARSHAL (_id);
01308             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01309                 return changeEventFormat (format        );
01310             } finally {
01311                 _releaseReply ($in);
01312             }
01313   } // changeEventFormat
01314 
01315   public void standardRegisterDumpAll ()
01316   {
01317             org.omg.CORBA.portable.InputStream $in = null;
01318             try {
01319                 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpAll", true);
01320                 $in = _invoke ($out);
01321                 return;
01322             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01323                 $in = $ex.getInputStream ();
01324                 String _id = $ex.getId ();
01325                 throw new org.omg.CORBA.MARSHAL (_id);
01326             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01327                 standardRegisterDumpAll (        );
01328             } finally {
01329                 _releaseReply ($in);
01330             }
01331   } // standardRegisterDumpAll
01332 
01333   public void lasersOff ()
01334   {
01335             org.omg.CORBA.portable.InputStream $in = null;
01336             try {
01337                 org.omg.CORBA.portable.OutputStream $out = _request ("lasersOff", true);
01338                 $in = _invoke ($out);
01339                 return;
01340             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01341                 $in = $ex.getInputStream ();
01342                 String _id = $ex.getId ();
01343                 throw new org.omg.CORBA.MARSHAL (_id);
01344             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01345                 lasersOff (        );
01346             } finally {
01347                 _releaseReply ($in);
01348             }
01349   } // lasersOff
01350 
01351   public String[] getModuleList ()
01352   {
01353             org.omg.CORBA.portable.InputStream $in = null;
01354             try {
01355                 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleList", true);
01356                 $in = _invoke ($out);
01357                 String $result[] = sctConf.ModuleListHelper.read ($in);
01358                 return $result;
01359             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01360                 $in = $ex.getInputStream ();
01361                 String _id = $ex.getId ();
01362                 throw new org.omg.CORBA.MARSHAL (_id);
01363             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01364                 return getModuleList (        );
01365             } finally {
01366                 _releaseReply ($in);
01367             }
01368   } // getModuleList
01369 
01370   public void unsetDebugOption (String opt)
01371   {
01372             org.omg.CORBA.portable.InputStream $in = null;
01373             try {
01374                 org.omg.CORBA.portable.OutputStream $out = _request ("unsetDebugOption", true);
01375                 $out.write_string (opt);
01376                 $in = _invoke ($out);
01377                 return;
01378             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01379                 $in = $ex.getInputStream ();
01380                 String _id = $ex.getId ();
01381                 throw new org.omg.CORBA.MARSHAL (_id);
01382             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01383                 unsetDebugOption (opt        );
01384             } finally {
01385                 _releaseReply ($in);
01386             }
01387   } // unsetDebugOption
01388 
01389   public void setDebugOption (String opt)
01390   {
01391             org.omg.CORBA.portable.InputStream $in = null;
01392             try {
01393                 org.omg.CORBA.portable.OutputStream $out = _request ("setDebugOption", true);
01394                 $out.write_string (opt);
01395                 $in = _invoke ($out);
01396                 return;
01397             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01398                 $in = $ex.getInputStream ();
01399                 String _id = $ex.getId ();
01400                 throw new org.omg.CORBA.MARSHAL (_id);
01401             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01402                 setDebugOption (opt        );
01403             } finally {
01404                 _releaseReply ($in);
01405             }
01406   } // setDebugOption
01407 
01408   public String[] listDebugOptions ()
01409   {
01410             org.omg.CORBA.portable.InputStream $in = null;
01411             try {
01412                 org.omg.CORBA.portable.OutputStream $out = _request ("listDebugOptions", true);
01413                 $in = _invoke ($out);
01414                 String $result[] = Sct_SctApi.DebugOptionListHelper.read ($in);
01415                 return $result;
01416             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01417                 $in = $ex.getInputStream ();
01418                 String _id = $ex.getId ();
01419                 throw new org.omg.CORBA.MARSHAL (_id);
01420             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01421                 return listDebugOptions (        );
01422             } finally {
01423                 _releaseReply ($in);
01424             }
01425   } // listDebugOptions
01426 
01427   public void unsetBusy ()
01428   {
01429             org.omg.CORBA.portable.InputStream $in = null;
01430             try {
01431                 org.omg.CORBA.portable.OutputStream $out = _request ("unsetBusy", true);
01432                 $in = _invoke ($out);
01433                 return;
01434             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01435                 $in = $ex.getInputStream ();
01436                 String _id = $ex.getId ();
01437                 throw new org.omg.CORBA.MARSHAL (_id);
01438             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01439                 unsetBusy (        );
01440             } finally {
01441                 _releaseReply ($in);
01442             }
01443   } // unsetBusy
01444 
01445   // Type-specific CORBA::Object operations
01446   private static String[] __ids = {
01447     "IDL:Sct_SctApi/CommonToTopAndCrate:1.0", 
01448     "IDL:Sct_SctApi/DoScanMethods:1.0", 
01449     "IDL:Sct_SctApi/ModifyABCDMethods:1.0", 
01450     "IDL:Sct_SctApi/ModuleConfigurationMethods:1.0", 
01451     "IDL:Sct_SctApi/RetrievingConfigurationMethods:1.0", 
01452     "IDL:Sct_SctApi/BOCConfigurationMethods:1.0", 
01453     "IDL:Sct_SctApi/SavingConfigurationMethods:1.0", 
01454     "IDL:Sct_SctApi/TriggerRODLevel:1.0", 
01455     "IDL:Sct_SctApi/TriggerTIMLevel:1.0", 
01456     "IDL:Sct_SctApi/AutoConfigure:1.0", 
01457     "IDL:Sct_SctApi/ProbeChecks:1.0", 
01458     "IDL:Sct_SctApi/ProbeMethods:1.0", 
01459     "IDL:Sct_SctApi/RunControl:1.0", 
01460     "IDL:Sct_SctApi/ModuleInquiry:1.0", 
01461     "IDL:Sct_SctApi/DebugOptionsCommon:1.0"};
01462 
01463   public String[] _ids ()
01464   {
01465     return (String[])__ids.clone ();
01466   }
01467 
01468   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
01469   {
01470      String str = s.readUTF ();
01471      String[] args = null;
01472      java.util.Properties props = null;
01473      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
01474      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
01475      _set_delegate (delegate);
01476   }
01477 
01478   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
01479   {
01480      String[] args = null;
01481      java.util.Properties props = null;
01482      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
01483      s.writeUTF (str);
01484   }
01485 } // class _CommonToTopAndCrateStub

Generated on Mon Feb 6 14:12:04 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6