Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

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

Generated on Fri Sep 16 18:05:51 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5