_SctApiIPCStub.java

00001 package Sct_SctApi;
00002 
00003 
00012 // TOP LEVEL:
00013 public class _SctApiIPCStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.SctApiIPC
00014 {
00015 
00016   public ipc.servantPackage.info information ()
00017   {
00018             org.omg.CORBA.portable.InputStream $in = null;
00019             try {
00020                 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00021                 $in = _invoke ($out);
00022                 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00023                 return $result;
00024             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00025                 $in = $ex.getInputStream ();
00026                 String _id = $ex.getId ();
00027                 throw new org.omg.CORBA.MARSHAL (_id);
00028             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00029                 return information (        );
00030             } finally {
00031                 _releaseReply ($in);
00032             }
00033   } // information
00034 
00035   public void shutdown ()
00036   {
00037             org.omg.CORBA.portable.InputStream $in = null;
00038             try {
00039                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00040                 $in = _invoke ($out);
00041                 return;
00042             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00043                 $in = $ex.getInputStream ();
00044                 String _id = $ex.getId ();
00045                 throw new org.omg.CORBA.MARSHAL (_id);
00046             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00047                 shutdown (        );
00048             } finally {
00049                 _releaseReply ($in);
00050             }
00051   } // shutdown
00052 
00053   public Sct_SctApi.CrateIPC getCrate (Sct.Corba.UniqueCrateIdentifier ucid)
00054   {
00055             org.omg.CORBA.portable.InputStream $in = null;
00056             try {
00057                 org.omg.CORBA.portable.OutputStream $out = _request ("getCrate", true);
00058                 Sct.Corba.UCIDHelper.write ($out, ucid);
00059                 $in = _invoke ($out);
00060                 Sct_SctApi.CrateIPC $result = Sct_SctApi.CrateIPCHelper.read ($in);
00061                 return $result;
00062             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00063                 $in = $ex.getInputStream ();
00064                 String _id = $ex.getId ();
00065                 throw new org.omg.CORBA.MARSHAL (_id);
00066             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00067                 return getCrate (ucid        );
00068             } finally {
00069                 _releaseReply ($in);
00070             }
00071   } // getCrate
00072 
00073   public Sct_SctApi.CrateIPC getCrateLegacy (int partition, int crate)
00074   {
00075             org.omg.CORBA.portable.InputStream $in = null;
00076             try {
00077                 org.omg.CORBA.portable.OutputStream $out = _request ("getCrateLegacy", true);
00078                 $out.write_ulong (partition);
00079                 $out.write_ulong (crate);
00080                 $in = _invoke ($out);
00081                 Sct_SctApi.CrateIPC $result = Sct_SctApi.CrateIPCHelper.read ($in);
00082                 return $result;
00083             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00084                 $in = $ex.getInputStream ();
00085                 String _id = $ex.getId ();
00086                 throw new org.omg.CORBA.MARSHAL (_id);
00087             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00088                 return getCrateLegacy (partition, crate        );
00089             } finally {
00090                 _releaseReply ($in);
00091             }
00092   } // getCrateLegacy
00093 
00094   public Sct.Corba.UniqueCrateIdentifier[] getCrateUCIDs ()
00095   {
00096             org.omg.CORBA.portable.InputStream $in = null;
00097             try {
00098                 org.omg.CORBA.portable.OutputStream $out = _request ("getCrateUCIDs", true);
00099                 $in = _invoke ($out);
00100                 Sct.Corba.UniqueCrateIdentifier $result[] = Sct.Corba.UCIDsHelper.read ($in);
00101                 return $result;
00102             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00103                 $in = $ex.getInputStream ();
00104                 String _id = $ex.getId ();
00105                 throw new org.omg.CORBA.MARSHAL (_id);
00106             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00107                 return getCrateUCIDs (        );
00108             } finally {
00109                 _releaseReply ($in);
00110             }
00111   } // getCrateUCIDs
00112 
00113   public void standardRegisterDumpURID (Sct.Corba.UniqueRodIdentifier urid)
00114   {
00115             org.omg.CORBA.portable.InputStream $in = null;
00116             try {
00117                 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpURID", true);
00118                 Sct.Corba.URIDHelper.write ($out, urid);
00119                 $in = _invoke ($out);
00120                 return;
00121             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00122                 $in = $ex.getInputStream ();
00123                 String _id = $ex.getId ();
00124                 throw new org.omg.CORBA.MARSHAL (_id);
00125             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00126                 standardRegisterDumpURID (urid        );
00127             } finally {
00128                 _releaseReply ($in);
00129             }
00130   } // standardRegisterDumpURID
00131 
00132   public Sct_SctApi.Scan createScan ()
00133   {
00134             org.omg.CORBA.portable.InputStream $in = null;
00135             try {
00136                 org.omg.CORBA.portable.OutputStream $out = _request ("createScan", true);
00137                 $in = _invoke ($out);
00138                 Sct_SctApi.Scan $result = Sct_SctApi.ScanHelper.read ($in);
00139                 return $result;
00140             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00141                 $in = $ex.getInputStream ();
00142                 String _id = $ex.getId ();
00143                 throw new org.omg.CORBA.MARSHAL (_id);
00144             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00145                 return createScan (        );
00146             } finally {
00147                 _releaseReply ($in);
00148             }
00149   } // createScan
00150 
00151   public Sct_SctApi.Scan getDefaultScan ()
00152   {
00153             org.omg.CORBA.portable.InputStream $in = null;
00154             try {
00155                 org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultScan", true);
00156                 $in = _invoke ($out);
00157                 Sct_SctApi.Scan $result = Sct_SctApi.ScanHelper.read ($in);
00158                 return $result;
00159             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00160                 $in = $ex.getInputStream ();
00161                 String _id = $ex.getId ();
00162                 throw new org.omg.CORBA.MARSHAL (_id);
00163             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00164                 return getDefaultScan (        );
00165             } finally {
00166                 _releaseReply ($in);
00167             }
00168   } // getDefaultScan
00169 
00170 
00171   // Nobody seems to use these two:
00172   public Sct_SctApi.Trigger createTrigger ()
00173   {
00174             org.omg.CORBA.portable.InputStream $in = null;
00175             try {
00176                 org.omg.CORBA.portable.OutputStream $out = _request ("createTrigger", true);
00177                 $in = _invoke ($out);
00178                 Sct_SctApi.Trigger $result = Sct_SctApi.TriggerHelper.read ($in);
00179                 return $result;
00180             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00181                 $in = $ex.getInputStream ();
00182                 String _id = $ex.getId ();
00183                 throw new org.omg.CORBA.MARSHAL (_id);
00184             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00185                 return createTrigger (        );
00186             } finally {
00187                 _releaseReply ($in);
00188             }
00189   } // createTrigger
00190 
00191 
00192   // Trigger getDefaultTrigger();
00193   public Sct_SctApi.Scan[] knownScans ()
00194   {
00195             org.omg.CORBA.portable.InputStream $in = null;
00196             try {
00197                 org.omg.CORBA.portable.OutputStream $out = _request ("knownScans", true);
00198                 $in = _invoke ($out);
00199                 Sct_SctApi.Scan $result[] = Sct_SctApi.ScanListHelper.read ($in);
00200                 return $result;
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                 return knownScans (        );
00207             } finally {
00208                 _releaseReply ($in);
00209             }
00210   } // knownScans
00211 
00212 
00213   // Translation
00214   public int findModuleSerial (String sn)
00215   {
00216             org.omg.CORBA.portable.InputStream $in = null;
00217             try {
00218                 org.omg.CORBA.portable.OutputStream $out = _request ("findModuleSerial", true);
00219                 $out.write_string (sn);
00220                 $in = _invoke ($out);
00221                 int $result = $in.read_ulong ();
00222                 return $result;
00223             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00224                 $in = $ex.getInputStream ();
00225                 String _id = $ex.getId ();
00226                 throw new org.omg.CORBA.MARSHAL (_id);
00227             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00228                 return findModuleSerial (sn        );
00229             } finally {
00230                 _releaseReply ($in);
00231             }
00232   } // findModuleSerial
00233 
00234   public String convertToString (int mid)
00235   {
00236             org.omg.CORBA.portable.InputStream $in = null;
00237             try {
00238                 org.omg.CORBA.portable.OutputStream $out = _request ("convertToString", true);
00239                 $out.write_ulong (mid);
00240                 $in = _invoke ($out);
00241                 String $result = $in.read_string ();
00242                 return $result;
00243             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00244                 $in = $ex.getInputStream ();
00245                 String _id = $ex.getId ();
00246                 throw new org.omg.CORBA.MARSHAL (_id);
00247             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00248                 return convertToString (mid        );
00249             } finally {
00250                 _releaseReply ($in);
00251             }
00252   } // convertToString
00253 
00254   public int findModule (short mur, short number)
00255   {
00256             org.omg.CORBA.portable.InputStream $in = null;
00257             try {
00258                 org.omg.CORBA.portable.OutputStream $out = _request ("findModule", true);
00259                 $out.write_ushort (mur);
00260                 $out.write_ushort (number);
00261                 $in = _invoke ($out);
00262                 int $result = $in.read_ulong ();
00263                 return $result;
00264             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00265                 $in = $ex.getInputStream ();
00266                 String _id = $ex.getId ();
00267                 throw new org.omg.CORBA.MARSHAL (_id);
00268             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00269                 return findModule (mur, number        );
00270             } finally {
00271                 _releaseReply ($in);
00272             }
00273   } // findModule
00274 
00275   public int findModuleRod (int partition, int crate, int rod, int channel)
00276   {
00277             org.omg.CORBA.portable.InputStream $in = null;
00278             try {
00279                 org.omg.CORBA.portable.OutputStream $out = _request ("findModuleRod", true);
00280                 $out.write_ulong (partition);
00281                 $out.write_ulong (crate);
00282                 $out.write_ulong (rod);
00283                 $out.write_ulong (channel);
00284                 $in = _invoke ($out);
00285                 int $result = $in.read_ulong ();
00286                 return $result;
00287             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00288                 $in = $ex.getInputStream ();
00289                 String _id = $ex.getId ();
00290                 throw new org.omg.CORBA.MARSHAL (_id);
00291             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00292                 return findModuleRod (partition, crate, rod, channel        );
00293             } finally {
00294                 _releaseReply ($in);
00295             }
00296   } // findModuleRod
00297 
00298 
00299   //  pair<INT32, INT32> convertToMUR(in unsigned long mid);
00300   public int findBarrelModule (int barrel, int row, short number)
00301   {
00302             org.omg.CORBA.portable.InputStream $in = null;
00303             try {
00304                 org.omg.CORBA.portable.OutputStream $out = _request ("findBarrelModule", true);
00305                 $out.write_ulong (barrel);
00306                 $out.write_ulong (row);
00307                 $out.write_short (number);
00308                 $in = _invoke ($out);
00309                 int $result = $in.read_ulong ();
00310                 return $result;
00311             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00312                 $in = $ex.getInputStream ();
00313                 String _id = $ex.getId ();
00314                 throw new org.omg.CORBA.MARSHAL (_id);
00315             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00316                 return findBarrelModule (barrel, row, number        );
00317             } finally {
00318                 _releaseReply ($in);
00319             }
00320   } // findBarrelModule
00321 
00322   public void convertToBarrelModule (int mid, org.omg.CORBA.IntHolder barrel, org.omg.CORBA.IntHolder row, org.omg.CORBA.ShortHolder number)
00323   {
00324             org.omg.CORBA.portable.InputStream $in = null;
00325             try {
00326                 org.omg.CORBA.portable.OutputStream $out = _request ("convertToBarrelModule", true);
00327                 $out.write_ulong (mid);
00328                 $in = _invoke ($out);
00329                 barrel.value = $in.read_ulong ();
00330                 row.value = $in.read_ulong ();
00331                 number.value = $in.read_short ();
00332                 return;
00333             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00334                 $in = $ex.getInputStream ();
00335                 String _id = $ex.getId ();
00336                 throw new org.omg.CORBA.MARSHAL (_id);
00337             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00338                 convertToBarrelModule (mid, barrel, row, number        );
00339             } finally {
00340                 _releaseReply ($in);
00341             }
00342   } // convertToBarrelModule
00343 
00344   public int findEndcapModule (int disk, int ring, int number)
00345   {
00346             org.omg.CORBA.portable.InputStream $in = null;
00347             try {
00348                 org.omg.CORBA.portable.OutputStream $out = _request ("findEndcapModule", true);
00349                 $out.write_long (disk);
00350                 $out.write_long (ring);
00351                 $out.write_long (number);
00352                 $in = _invoke ($out);
00353                 int $result = $in.read_ulong ();
00354                 return $result;
00355             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00356                 $in = $ex.getInputStream ();
00357                 String _id = $ex.getId ();
00358                 throw new org.omg.CORBA.MARSHAL (_id);
00359             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00360                 return findEndcapModule (disk, ring, number        );
00361             } finally {
00362                 _releaseReply ($in);
00363             }
00364   } // findEndcapModule
00365 
00366   public void convertToEndcapModule (int mid, org.omg.CORBA.IntHolder disk, org.omg.CORBA.IntHolder ring, org.omg.CORBA.IntHolder number)
00367   {
00368             org.omg.CORBA.portable.InputStream $in = null;
00369             try {
00370                 org.omg.CORBA.portable.OutputStream $out = _request ("convertToEndcapModule", true);
00371                 $out.write_ulong (mid);
00372                 $in = _invoke ($out);
00373                 disk.value = $in.read_long ();
00374                 ring.value = $in.read_ulong ();
00375                 number.value = $in.read_ulong ();
00376                 return;
00377             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00378                 $in = $ex.getInputStream ();
00379                 String _id = $ex.getId ();
00380                 throw new org.omg.CORBA.MARSHAL (_id);
00381             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00382                 convertToEndcapModule (mid, disk, ring, number        );
00383             } finally {
00384                 _releaseReply ($in);
00385             }
00386   } // convertToEndcapModule
00387 
00388 
00389   // Scans
00390   public void doScan (Sct_SctApi.Scan thisScan) throws Sct_SctApi.SctApiException
00391   {
00392             org.omg.CORBA.portable.InputStream $in = null;
00393             try {
00394                 org.omg.CORBA.portable.OutputStream $out = _request ("doScan", true);
00395                 Sct_SctApi.ScanHelper.write ($out, thisScan);
00396                 $in = _invoke ($out);
00397                 return;
00398             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00399                 $in = $ex.getInputStream ();
00400                 String _id = $ex.getId ();
00401                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00402                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00403                 else
00404                     throw new org.omg.CORBA.MARSHAL (_id);
00405             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00406                 doScan (thisScan        );
00407             } finally {
00408                 _releaseReply ($in);
00409             }
00410   } // doScan
00411 
00412   public void doRawScan (Sct_SctApi.Scan thisScan, int delay, int width, boolean configure, boolean clockByTwo) throws Sct_SctApi.SctApiException
00413   {
00414             org.omg.CORBA.portable.InputStream $in = null;
00415             try {
00416                 org.omg.CORBA.portable.OutputStream $out = _request ("doRawScan", true);
00417                 Sct_SctApi.ScanHelper.write ($out, thisScan);
00418                 $out.write_long (delay);
00419                 $out.write_long (width);
00420                 $out.write_boolean (configure);
00421                 $out.write_boolean (clockByTwo);
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                 doRawScan (thisScan, delay, width, configure, clockByTwo        );
00433             } finally {
00434                 _releaseReply ($in);
00435             }
00436   } // doRawScan
00437 
00438   public Sct_SctApi.ScanMonitor startAsyncScan (Sct_SctApi.Scan thisScan) throws Sct_SctApi.SctApiException
00439   {
00440             org.omg.CORBA.portable.InputStream $in = null;
00441             try {
00442                 org.omg.CORBA.portable.OutputStream $out = _request ("startAsyncScan", true);
00443                 Sct_SctApi.ScanHelper.write ($out, thisScan);
00444                 $in = _invoke ($out);
00445                 Sct_SctApi.ScanMonitor $result = Sct_SctApi.ScanMonitorHelper.read ($in);
00446                 return $result;
00447             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00448                 $in = $ex.getInputStream ();
00449                 String _id = $ex.getId ();
00450                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00451                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00452                 else
00453                     throw new org.omg.CORBA.MARSHAL (_id);
00454             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00455                 return startAsyncScan (thisScan        );
00456             } finally {
00457                 _releaseReply ($in);
00458             }
00459   } // startAsyncScan
00460 
00461   public void abortScan ()
00462   {
00463             org.omg.CORBA.portable.InputStream $in = null;
00464             try {
00465                 org.omg.CORBA.portable.OutputStream $out = _request ("abortScan", true);
00466                 $in = _invoke ($out);
00467                 return;
00468             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00469                 $in = $ex.getInputStream ();
00470                 String _id = $ex.getId ();
00471                 throw new org.omg.CORBA.MARSHAL (_id);
00472             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00473                 abortScan (        );
00474             } finally {
00475                 _releaseReply ($in);
00476             }
00477   } // abortScan
00478 
00479 
00480   // postcondition: hasFinishedScanning()==true;
00481   public boolean hasFinishedScanning ()
00482   {
00483             org.omg.CORBA.portable.InputStream $in = null;
00484             try {
00485                 org.omg.CORBA.portable.OutputStream $out = _request ("hasFinishedScanning", true);
00486                 $in = _invoke ($out);
00487                 boolean $result = $in.read_boolean ();
00488                 return $result;
00489             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00490                 $in = $ex.getInputStream ();
00491                 String _id = $ex.getId ();
00492                 throw new org.omg.CORBA.MARSHAL (_id);
00493             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00494                 return hasFinishedScanning (        );
00495             } finally {
00496                 _releaseReply ($in);
00497             }
00498   } // hasFinishedScanning
00499 
00500   public void modifyABCDMask (int mid, int[] mask)
00501   {
00502             org.omg.CORBA.portable.InputStream $in = null;
00503             try {
00504                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDMask", true);
00505                 $out.write_ulong (mid);
00506                 Sct_SctApi.DataBlockHelper.write ($out, mask);
00507                 $in = _invoke ($out);
00508                 return;
00509             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00510                 $in = $ex.getInputStream ();
00511                 String _id = $ex.getId ();
00512                 throw new org.omg.CORBA.MARSHAL (_id);
00513             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00514                 modifyABCDMask (mid, mask        );
00515             } finally {
00516                 _releaseReply ($in);
00517             }
00518   } // modifyABCDMask
00519 
00520   public void modifyABCDTrims (int mid, short[] trims)
00521   {
00522             org.omg.CORBA.portable.InputStream $in = null;
00523             try {
00524                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDTrims", true);
00525                 $out.write_ulong (mid);
00526                 Sct_SctApi.CharBlockHelper.write ($out, trims);
00527                 $in = _invoke ($out);
00528                 return;
00529             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00530                 $in = $ex.getInputStream ();
00531                 String _id = $ex.getId ();
00532                 throw new org.omg.CORBA.MARSHAL (_id);
00533             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00534                 modifyABCDTrims (mid, trims        );
00535             } finally {
00536                 _releaseReply ($in);
00537             }
00538   } // modifyABCDTrims
00539 
00540   public void modifyABCDRC (int mid, int chip, short index, double p0, double p1, double p2)
00541   {
00542             org.omg.CORBA.portable.InputStream $in = null;
00543             try {
00544                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDRC", true);
00545                 $out.write_ulong (mid);
00546                 $out.write_ulong (chip);
00547                 $out.write_ushort (index);
00548                 $out.write_double (p0);
00549                 $out.write_double (p1);
00550                 $out.write_double (p2);
00551                 $in = _invoke ($out);
00552                 return;
00553             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00554                 $in = $ex.getInputStream ();
00555                 String _id = $ex.getId ();
00556                 throw new org.omg.CORBA.MARSHAL (_id);
00557             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00558                 modifyABCDRC (mid, chip, index, p0, p1, p2        );
00559             } finally {
00560                 _releaseReply ($in);
00561             }
00562   } // modifyABCDRC
00563 
00564 
00565   // must be different prototypes
00566   public void modifyABCDVar (int typ, double var)
00567   {
00568             org.omg.CORBA.portable.InputStream $in = null;
00569             try {
00570                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVar", true);
00571                 $out.write_ulong (typ);
00572                 $out.write_double (var);
00573                 $in = _invoke ($out);
00574                 return;
00575             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00576                 $in = $ex.getInputStream ();
00577                 String _id = $ex.getId ();
00578                 throw new org.omg.CORBA.MARSHAL (_id);
00579             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00580                 modifyABCDVar (typ, var        );
00581             } finally {
00582                 _releaseReply ($in);
00583             }
00584   } // modifyABCDVar
00585 
00586   public void modifyABCDModuleVar (int mid, int typ, double var)
00587   {
00588             org.omg.CORBA.portable.InputStream $in = null;
00589             try {
00590                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVar", true);
00591                 $out.write_ulong (mid);
00592                 $out.write_ulong (typ);
00593                 $out.write_double (var);
00594                 $in = _invoke ($out);
00595                 return;
00596             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00597                 $in = $ex.getInputStream ();
00598                 String _id = $ex.getId ();
00599                 throw new org.omg.CORBA.MARSHAL (_id);
00600             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00601                 modifyABCDModuleVar (mid, typ, var        );
00602             } finally {
00603                 _releaseReply ($in);
00604             }
00605   } // modifyABCDModuleVar
00606 
00607   public void modifyABCDChipVar (int mid, int chip, int typ, double var)
00608   {
00609             org.omg.CORBA.portable.InputStream $in = null;
00610             try {
00611                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDChipVar", true);
00612                 $out.write_ulong (mid);
00613                 $out.write_ulong (chip);
00614                 $out.write_ulong (typ);
00615                 $out.write_double (var);
00616                 $in = _invoke ($out);
00617                 return;
00618             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00619                 $in = $ex.getInputStream ();
00620                 String _id = $ex.getId ();
00621                 throw new org.omg.CORBA.MARSHAL (_id);
00622             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00623                 modifyABCDChipVar (mid, chip, typ, var        );
00624             } finally {
00625                 _releaseReply ($in);
00626             }
00627   } // modifyABCDChipVar
00628 
00629   public void modifyABCDVarAllModulesOneChip (int chip, int typ, double var)
00630   {
00631             org.omg.CORBA.portable.InputStream $in = null;
00632             try {
00633                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarAllModulesOneChip", true);
00634                 $out.write_ulong (chip);
00635                 $out.write_ulong (typ);
00636                 $out.write_double (var);
00637                 $in = _invoke ($out);
00638                 return;
00639             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00640                 $in = $ex.getInputStream ();
00641                 String _id = $ex.getId ();
00642                 throw new org.omg.CORBA.MARSHAL (_id);
00643             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00644                 modifyABCDVarAllModulesOneChip (chip, typ, var        );
00645             } finally {
00646                 _releaseReply ($in);
00647             }
00648   } // modifyABCDVarAllModulesOneChip
00649 
00650   public void modifyABCDVarROD (int typ, double var, Sct_SctApi.BankType[] banks)
00651   {
00652             org.omg.CORBA.portable.InputStream $in = null;
00653             try {
00654                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarROD", true);
00655                 $out.write_ulong (typ);
00656                 $out.write_double (var);
00657                 Sct_SctApi.BankListHelper.write ($out, banks);
00658                 $in = _invoke ($out);
00659                 return;
00660             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00661                 $in = $ex.getInputStream ();
00662                 String _id = $ex.getId ();
00663                 throw new org.omg.CORBA.MARSHAL (_id);
00664             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00665                 modifyABCDVarROD (typ, var, banks        );
00666             } finally {
00667                 _releaseReply ($in);
00668             }
00669   } // modifyABCDVarROD
00670 
00671   public void modifyABCDModuleVarROD (int mid, int typ, double var, Sct_SctApi.BankType[] banks)
00672   {
00673             org.omg.CORBA.portable.InputStream $in = null;
00674             try {
00675                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVarROD", true);
00676                 $out.write_ulong (mid);
00677                 $out.write_ulong (typ);
00678                 $out.write_double (var);
00679                 Sct_SctApi.BankListHelper.write ($out, banks);
00680                 $in = _invoke ($out);
00681                 return;
00682             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00683                 $in = $ex.getInputStream ();
00684                 String _id = $ex.getId ();
00685                 throw new org.omg.CORBA.MARSHAL (_id);
00686             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00687                 modifyABCDModuleVarROD (mid, typ, var, banks        );
00688             } finally {
00689                 _releaseReply ($in);
00690             }
00691   } // modifyABCDModuleVarROD
00692 
00693   public void modifyBOCParam (int partition, int crate, int rod, int channel, int type, int val)
00694   {
00695             org.omg.CORBA.portable.InputStream $in = null;
00696             try {
00697                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyBOCParam", true);
00698                 $out.write_ulong (partition);
00699                 $out.write_ulong (crate);
00700                 $out.write_ulong (rod);
00701                 $out.write_ulong (channel);
00702                 $out.write_ulong (type);
00703                 $out.write_ulong (val);
00704                 $in = _invoke ($out);
00705                 return;
00706             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00707                 $in = $ex.getInputStream ();
00708                 String _id = $ex.getId ();
00709                 throw new org.omg.CORBA.MARSHAL (_id);
00710             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00711                 modifyBOCParam (partition, crate, rod, channel, type, val        );
00712             } finally {
00713                 _releaseReply ($in);
00714             }
00715   } // modifyBOCParam
00716 
00717 
00719   public void getABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00720   {
00721             org.omg.CORBA.portable.InputStream $in = null;
00722             try {
00723                 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModules", true);
00724                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00725                 $in = _invoke ($out);
00726                 return;
00727             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00728                 $in = $ex.getInputStream ();
00729                 String _id = $ex.getId ();
00730                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00731                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00732                 else
00733                     throw new org.omg.CORBA.MARSHAL (_id);
00734             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00735                 getABCDModules (bank        );
00736             } finally {
00737                 _releaseReply ($in);
00738             }
00739   } // getABCDModules
00740 
00741   public void getABCDModule (int mid, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00742   {
00743             org.omg.CORBA.portable.InputStream $in = null;
00744             try {
00745                 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModule", true);
00746                 $out.write_ulong (mid);
00747                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00748                 $in = _invoke ($out);
00749                 return;
00750             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00751                 $in = $ex.getInputStream ();
00752                 String _id = $ex.getId ();
00753                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00754                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00755                 else
00756                     throw new org.omg.CORBA.MARSHAL (_id);
00757             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00758                 getABCDModule (mid, bank        );
00759             } finally {
00760                 _releaseReply ($in);
00761             }
00762   } // getABCDModule
00763 
00764   public void setAutoUpdateBanks (Sct_SctApi.BankType[] banks)
00765   {
00766             org.omg.CORBA.portable.InputStream $in = null;
00767             try {
00768                 org.omg.CORBA.portable.OutputStream $out = _request ("setAutoUpdateBanks", true);
00769                 Sct_SctApi.BankListHelper.write ($out, banks);
00770                 $in = _invoke ($out);
00771                 return;
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                 setAutoUpdateBanks (banks        );
00778             } finally {
00779                 _releaseReply ($in);
00780             }
00781   } // setAutoUpdateBanks
00782 
00783   public void setABCDModule (int mid, Sct_SctApi.BankType[] banks) throws Sct_SctApi.SctApiException
00784   {
00785             org.omg.CORBA.portable.InputStream $in = null;
00786             try {
00787                 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModule", true);
00788                 $out.write_ulong (mid);
00789                 Sct_SctApi.BankListHelper.write ($out, banks);
00790                 $in = _invoke ($out);
00791                 return;
00792             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00793                 $in = $ex.getInputStream ();
00794                 String _id = $ex.getId ();
00795                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00796                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00797                 else
00798                     throw new org.omg.CORBA.MARSHAL (_id);
00799             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00800                 setABCDModule (mid, banks        );
00801             } finally {
00802                 _releaseReply ($in);
00803             }
00804   } // setABCDModule
00805 
00806   public void setABCDModules (Sct_SctApi.BankType[] bank) throws Sct_SctApi.SctApiException
00807   {
00808             org.omg.CORBA.portable.InputStream $in = null;
00809             try {
00810                 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModules", true);
00811                 Sct_SctApi.BankListHelper.write ($out, bank);
00812                 $in = _invoke ($out);
00813                 return;
00814             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00815                 $in = $ex.getInputStream ();
00816                 String _id = $ex.getId ();
00817                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00818                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00819                 else
00820                     throw new org.omg.CORBA.MARSHAL (_id);
00821             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00822                 setABCDModules (bank        );
00823             } finally {
00824                 _releaseReply ($in);
00825             }
00826   } // setABCDModules
00827 
00828   public void copyABCDModule (int mid, Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00829   {
00830             org.omg.CORBA.portable.InputStream $in = null;
00831             try {
00832                 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModule", true);
00833                 $out.write_ulong (mid);
00834                 Sct_SctApi.BankTypeHelper.write ($out, from);
00835                 Sct_SctApi.BankListHelper.write ($out, to);
00836                 $in = _invoke ($out);
00837                 return;
00838             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00839                 $in = $ex.getInputStream ();
00840                 String _id = $ex.getId ();
00841                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00842                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00843                 else
00844                     throw new org.omg.CORBA.MARSHAL (_id);
00845             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00846                 copyABCDModule (mid, from, to        );
00847             } finally {
00848                 _releaseReply ($in);
00849             }
00850   } // copyABCDModule
00851 
00852   public void copyABCDModules (Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00853   {
00854             org.omg.CORBA.portable.InputStream $in = null;
00855             try {
00856                 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModules", true);
00857                 Sct_SctApi.BankTypeHelper.write ($out, from);
00858                 Sct_SctApi.BankListHelper.write ($out, to);
00859                 $in = _invoke ($out);
00860                 return;
00861             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00862                 $in = $ex.getInputStream ();
00863                 String _id = $ex.getId ();
00864                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00865                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00866                 else
00867                     throw new org.omg.CORBA.MARSHAL (_id);
00868             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00869                 copyABCDModules (from, to        );
00870             } finally {
00871                 _releaseReply ($in);
00872             }
00873   } // copyABCDModules
00874 
00875   public void sendABCDModule (int mid, Sct_SctApi.BankType bank, int type) throws Sct_SctApi.SctApiException
00876   {
00877             org.omg.CORBA.portable.InputStream $in = null;
00878             try {
00879                 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModule", true);
00880                 $out.write_ulong (mid);
00881                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00882                 $out.write_ulong (type);
00883                 $in = _invoke ($out);
00884                 return;
00885             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00886                 $in = $ex.getInputStream ();
00887                 String _id = $ex.getId ();
00888                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00889                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00890                 else
00891                     throw new org.omg.CORBA.MARSHAL (_id);
00892             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00893                 sendABCDModule (mid, bank, type        );
00894             } finally {
00895                 _releaseReply ($in);
00896             }
00897   } // sendABCDModule
00898 
00899   public void sendABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00900   {
00901             org.omg.CORBA.portable.InputStream $in = null;
00902             try {
00903                 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModules", true);
00904                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00905                 $in = _invoke ($out);
00906                 return;
00907             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00908                 $in = $ex.getInputStream ();
00909                 String _id = $ex.getId ();
00910                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00911                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00912                 else
00913                     throw new org.omg.CORBA.MARSHAL (_id);
00914             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00915                 sendABCDModules (bank        );
00916             } finally {
00917                 _releaseReply ($in);
00918             }
00919   } // sendABCDModules
00920 
00921   public void storeModuleConfigurations (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00922   {
00923             org.omg.CORBA.portable.InputStream $in = null;
00924             try {
00925                 org.omg.CORBA.portable.OutputStream $out = _request ("storeModuleConfigurations", true);
00926                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00927                 $in = _invoke ($out);
00928                 return;
00929             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00930                 $in = $ex.getInputStream ();
00931                 String _id = $ex.getId ();
00932                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00933                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00934                 else
00935                     throw new org.omg.CORBA.MARSHAL (_id);
00936             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00937                 storeModuleConfigurations (bank        );
00938             } finally {
00939                 _releaseReply ($in);
00940             }
00941   } // storeModuleConfigurations
00942 
00943   public void storeBOCConfigurations () throws Sct_SctApi.SctApiException
00944   {
00945             org.omg.CORBA.portable.InputStream $in = null;
00946             try {
00947                 org.omg.CORBA.portable.OutputStream $out = _request ("storeBOCConfigurations", true);
00948                 $in = _invoke ($out);
00949                 return;
00950             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00951                 $in = $ex.getInputStream ();
00952                 String _id = $ex.getId ();
00953                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00954                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00955                 else
00956                     throw new org.omg.CORBA.MARSHAL (_id);
00957             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00958                 storeBOCConfigurations (        );
00959             } finally {
00960                 _releaseReply ($in);
00961             }
00962   } // storeBOCConfigurations
00963 
00964   public void configureAllModules () throws Sct_SctApi.SctApiException
00965   {
00966             org.omg.CORBA.portable.InputStream $in = null;
00967             try {
00968                 org.omg.CORBA.portable.OutputStream $out = _request ("configureAllModules", true);
00969                 $in = _invoke ($out);
00970                 return;
00971             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00972                 $in = $ex.getInputStream ();
00973                 String _id = $ex.getId ();
00974                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00975                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00976                 else
00977                     throw new org.omg.CORBA.MARSHAL (_id);
00978             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00979                 configureAllModules (        );
00980             } finally {
00981                 _releaseReply ($in);
00982             }
00983   } // configureAllModules
00984 
00985   public void loadModuleConfigurations () throws Sct_SctApi.SctApiException
00986   {
00987             org.omg.CORBA.portable.InputStream $in = null;
00988             try {
00989                 org.omg.CORBA.portable.OutputStream $out = _request ("loadModuleConfigurations", true);
00990                 $in = _invoke ($out);
00991                 return;
00992             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00993                 $in = $ex.getInputStream ();
00994                 String _id = $ex.getId ();
00995                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00996                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00997                 else
00998                     throw new org.omg.CORBA.MARSHAL (_id);
00999             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01000                 loadModuleConfigurations (        );
01001             } finally {
01002                 _releaseReply ($in);
01003             }
01004   } // loadModuleConfigurations
01005 
01006 
01008   public sctConf.ABCDModule retrieveModule (int mid)
01009   {
01010             org.omg.CORBA.portable.InputStream $in = null;
01011             try {
01012                 org.omg.CORBA.portable.OutputStream $out = _request ("retrieveModule", true);
01013                 $out.write_ulong (mid);
01014                 $in = _invoke ($out);
01015                 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
01016                 return $result;
01017             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01018                 $in = $ex.getInputStream ();
01019                 String _id = $ex.getId ();
01020                 throw new org.omg.CORBA.MARSHAL (_id);
01021             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01022                 return retrieveModule (mid        );
01023             } finally {
01024                 _releaseReply ($in);
01025             }
01026   } // retrieveModule
01027 
01028   public sctConf.BOCChannelConfig[] currentBOCSetup (int partition, int crate, int rod)
01029   {
01030             org.omg.CORBA.portable.InputStream $in = null;
01031             try {
01032                 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCSetup", true);
01033                 $out.write_ulong (partition);
01034                 $out.write_ulong (crate);
01035                 $out.write_ulong (rod);
01036                 $in = _invoke ($out);
01037                 sctConf.BOCChannelConfig $result[] = Sct_SctApi.BOCChannelListHelper.read ($in);
01038                 return $result;
01039             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01040                 $in = $ex.getInputStream ();
01041                 String _id = $ex.getId ();
01042                 throw new org.omg.CORBA.MARSHAL (_id);
01043             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01044                 return currentBOCSetup (partition, crate, rod        );
01045             } finally {
01046                 _releaseReply ($in);
01047             }
01048   } // currentBOCSetup
01049 
01050   public sctConf.BOCGlobalConfig currentBOCRegisters (int partition, int crate, int rod)
01051   {
01052             org.omg.CORBA.portable.InputStream $in = null;
01053             try {
01054                 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCRegisters", true);
01055                 $out.write_ulong (partition);
01056                 $out.write_ulong (crate);
01057                 $out.write_ulong (rod);
01058                 $in = _invoke ($out);
01059                 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
01060                 return $result;
01061             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01062                 $in = $ex.getInputStream ();
01063                 String _id = $ex.getId ();
01064                 throw new org.omg.CORBA.MARSHAL (_id);
01065             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01066                 return currentBOCRegisters (partition, crate, rod        );
01067             } finally {
01068                 _releaseReply ($in);
01069             }
01070   } // currentBOCRegisters
01071 
01072   public void configureBOC (int partition, int crate, int rod)
01073   {
01074             org.omg.CORBA.portable.InputStream $in = null;
01075             try {
01076                 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
01077                 $out.write_ulong (partition);
01078                 $out.write_ulong (crate);
01079                 $out.write_ulong (rod);
01080                 $in = _invoke ($out);
01081                 return;
01082             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01083                 $in = $ex.getInputStream ();
01084                 String _id = $ex.getId ();
01085                 throw new org.omg.CORBA.MARSHAL (_id);
01086             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01087                 configureBOC (partition, crate, rod        );
01088             } finally {
01089                 _releaseReply ($in);
01090             }
01091   } // configureBOC
01092 
01093   public double[] getBOCMonitorArray (int partition, int crate, int rod)
01094   {
01095             org.omg.CORBA.portable.InputStream $in = null;
01096             try {
01097                 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCMonitorArray", true);
01098                 $out.write_ulong (partition);
01099                 $out.write_ulong (crate);
01100                 $out.write_ulong (rod);
01101                 $in = _invoke ($out);
01102                 double $result[] = Sct_SctApi.BOCMonitorSequenceHelper.read ($in);
01103                 return $result;
01104             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01105                 $in = $ex.getInputStream ();
01106                 String _id = $ex.getId ();
01107                 throw new org.omg.CORBA.MARSHAL (_id);
01108             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01109                 return getBOCMonitorArray (partition, crate, rod        );
01110             } finally {
01111                 _releaseReply ($in);
01112             }
01113   } // getBOCMonitorArray
01114 
01115   public void sendL1A (int partition, int crate, int rod)
01116   {
01117             org.omg.CORBA.portable.InputStream $in = null;
01118             try {
01119                 org.omg.CORBA.portable.OutputStream $out = _request ("sendL1A", true);
01120                 $out.write_ulong (partition);
01121                 $out.write_ulong (crate);
01122                 $out.write_ulong (rod);
01123                 $in = _invoke ($out);
01124                 return;
01125             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01126                 $in = $ex.getInputStream ();
01127                 String _id = $ex.getId ();
01128                 throw new org.omg.CORBA.MARSHAL (_id);
01129             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01130                 sendL1A (partition, crate, rod        );
01131             } finally {
01132                 _releaseReply ($in);
01133             }
01134   } // sendL1A
01135 
01136   public void sendRodTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
01137   {
01138             org.omg.CORBA.portable.InputStream $in = null;
01139             try {
01140                 org.omg.CORBA.portable.OutputStream $out = _request ("sendRodTrigger", true);
01141                 $out.write_ulong (partition);
01142                 $out.write_ulong (crate);
01143                 $out.write_ulong (rod);
01144                 Sct_SctApi.TriggerHelper.write ($out, trig);
01145                 $in = _invoke ($out);
01146                 return;
01147             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01148                 $in = $ex.getInputStream ();
01149                 String _id = $ex.getId ();
01150                 throw new org.omg.CORBA.MARSHAL (_id);
01151             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01152                 sendRodTrigger (partition, crate, rod, trig        );
01153             } finally {
01154                 _releaseReply ($in);
01155             }
01156   } // sendRodTrigger
01157 
01158 
01159   /* *************  TIM functs **************/
01160   public void timSetFrequency (int partition, int crate, double trigFreq, double rstFreq)
01161   {
01162             org.omg.CORBA.portable.InputStream $in = null;
01163             try {
01164                 org.omg.CORBA.portable.OutputStream $out = _request ("timSetFrequency", true);
01165                 $out.write_ulong (partition);
01166                 $out.write_ulong (crate);
01167                 $out.write_double (trigFreq);
01168                 $out.write_double (rstFreq);
01169                 $in = _invoke ($out);
01170                 return;
01171             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01172                 $in = $ex.getInputStream ();
01173                 String _id = $ex.getId ();
01174                 throw new org.omg.CORBA.MARSHAL (_id);
01175             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01176                 timSetFrequency (partition, crate, trigFreq, rstFreq        );
01177             } finally {
01178                 _releaseReply ($in);
01179             }
01180   } // timSetFrequency
01181 
01182   public void freeTriggers (int partition, int crate)
01183   {
01184             org.omg.CORBA.portable.InputStream $in = null;
01185             try {
01186                 org.omg.CORBA.portable.OutputStream $out = _request ("freeTriggers", true);
01187                 $out.write_ulong (partition);
01188                 $out.write_ulong (crate);
01189                 $in = _invoke ($out);
01190                 return;
01191             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01192                 $in = $ex.getInputStream ();
01193                 String _id = $ex.getId ();
01194                 throw new org.omg.CORBA.MARSHAL (_id);
01195             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01196                 freeTriggers (partition, crate        );
01197             } finally {
01198                 _releaseReply ($in);
01199             }
01200   } // freeTriggers
01201 
01202   public void stopTriggers (int partition, int crate)
01203   {
01204             org.omg.CORBA.portable.InputStream $in = null;
01205             try {
01206                 org.omg.CORBA.portable.OutputStream $out = _request ("stopTriggers", true);
01207                 $out.write_ulong (partition);
01208                 $out.write_ulong (crate);
01209                 $in = _invoke ($out);
01210                 return;
01211             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01212                 $in = $ex.getInputStream ();
01213                 String _id = $ex.getId ();
01214                 throw new org.omg.CORBA.MARSHAL (_id);
01215             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01216                 stopTriggers (partition, crate        );
01217             } finally {
01218                 _releaseReply ($in);
01219             }
01220   } // stopTriggers
01221 
01222   public void timL1A (int partition, int crate)
01223   {
01224             org.omg.CORBA.portable.InputStream $in = null;
01225             try {
01226                 org.omg.CORBA.portable.OutputStream $out = _request ("timL1A", true);
01227                 $out.write_ulong (partition);
01228                 $out.write_ulong (crate);
01229                 $in = _invoke ($out);
01230                 return;
01231             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01232                 $in = $ex.getInputStream ();
01233                 String _id = $ex.getId ();
01234                 throw new org.omg.CORBA.MARSHAL (_id);
01235             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01236                 timL1A (partition, crate        );
01237             } finally {
01238                 _releaseReply ($in);
01239             }
01240   } // timL1A
01241 
01242   public void timCalL1A (int partition, int crate, short delay)
01243   {
01244             org.omg.CORBA.portable.InputStream $in = null;
01245             try {
01246                 org.omg.CORBA.portable.OutputStream $out = _request ("timCalL1A", true);
01247                 $out.write_ulong (partition);
01248                 $out.write_ulong (crate);
01249                 $out.write_short (delay);
01250                 $in = _invoke ($out);
01251                 return;
01252             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01253                 $in = $ex.getInputStream ();
01254                 String _id = $ex.getId ();
01255                 throw new org.omg.CORBA.MARSHAL (_id);
01256             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01257                 timCalL1A (partition, crate, delay        );
01258             } finally {
01259                 _releaseReply ($in);
01260             }
01261   } // timCalL1A
01262 
01263   public short timReadRegister (int partition, int crate, short value)
01264   {
01265             org.omg.CORBA.portable.InputStream $in = null;
01266             try {
01267                 org.omg.CORBA.portable.OutputStream $out = _request ("timReadRegister", true);
01268                 $out.write_ulong (partition);
01269                 $out.write_ulong (crate);
01270                 $out.write_short (value);
01271                 $in = _invoke ($out);
01272                 short $result = $in.read_short ();
01273                 return $result;
01274             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01275                 $in = $ex.getInputStream ();
01276                 String _id = $ex.getId ();
01277                 throw new org.omg.CORBA.MARSHAL (_id);
01278             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01279                 return timReadRegister (partition, crate, value        );
01280             } finally {
01281                 _releaseReply ($in);
01282             }
01283   } // timReadRegister
01284 
01285   public void timWriteRegister (int partition, int crate, short reg, short value)
01286   {
01287             org.omg.CORBA.portable.InputStream $in = null;
01288             try {
01289                 org.omg.CORBA.portable.OutputStream $out = _request ("timWriteRegister", true);
01290                 $out.write_ulong (partition);
01291                 $out.write_ulong (crate);
01292                 $out.write_short (reg);
01293                 $out.write_short (value);
01294                 $in = _invoke ($out);
01295                 return;
01296             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01297                 $in = $ex.getInputStream ();
01298                 String _id = $ex.getId ();
01299                 throw new org.omg.CORBA.MARSHAL (_id);
01300             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01301                 timWriteRegister (partition, crate, reg, value        );
01302             } finally {
01303                 _releaseReply ($in);
01304             }
01305   } // timWriteRegister
01306 
01307   public int sendTriggers (int partition, int crate, Sct_SctApi.Trigger trig, int ntriggers, short point_in_scan)
01308   {
01309             org.omg.CORBA.portable.InputStream $in = null;
01310             try {
01311                 org.omg.CORBA.portable.OutputStream $out = _request ("sendTriggers", true);
01312                 $out.write_ulong (partition);
01313                 $out.write_ulong (crate);
01314                 Sct_SctApi.TriggerHelper.write ($out, trig);
01315                 $out.write_ulong (ntriggers);
01316                 $out.write_ushort (point_in_scan);
01317                 $in = _invoke ($out);
01318                 int $result = $in.read_ulong ();
01319                 return $result;
01320             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01321                 $in = $ex.getInputStream ();
01322                 String _id = $ex.getId ();
01323                 throw new org.omg.CORBA.MARSHAL (_id);
01324             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01325                 return sendTriggers (partition, crate, trig, ntriggers, point_in_scan        );
01326             } finally {
01327                 _releaseReply ($in);
01328             }
01329   } // sendTriggers
01330 
01331   public Sct_SctApi.AutoConfigResult[] autoConfigureScan () throws Sct_SctApi.SctApiException
01332   {
01333             org.omg.CORBA.portable.InputStream $in = null;
01334             try {
01335                 org.omg.CORBA.portable.OutputStream $out = _request ("autoConfigureScan", true);
01336                 $in = _invoke ($out);
01337                 Sct_SctApi.AutoConfigResult $result[] = Sct_SctApi.AutoResultListHelper.read ($in);
01338                 return $result;
01339             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01340                 $in = $ex.getInputStream ();
01341                 String _id = $ex.getId ();
01342                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01343                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01344                 else
01345                     throw new org.omg.CORBA.MARSHAL (_id);
01346             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01347                 return autoConfigureScan (        );
01348             } finally {
01349                 _releaseReply ($in);
01350             }
01351   } // autoConfigureScan
01352 
01353   public boolean checkAllModulesProbe (String chars) throws Sct_SctApi.SctApiException
01354   {
01355             org.omg.CORBA.portable.InputStream $in = null;
01356             try {
01357                 org.omg.CORBA.portable.OutputStream $out = _request ("checkAllModulesProbe", true);
01358                 $out.write_string (chars);
01359                 $in = _invoke ($out);
01360                 boolean $result = $in.read_boolean ();
01361                 return $result;
01362             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01363                 $in = $ex.getInputStream ();
01364                 String _id = $ex.getId ();
01365                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01366                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01367                 else
01368                     throw new org.omg.CORBA.MARSHAL (_id);
01369             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01370                 return checkAllModulesProbe (chars        );
01371             } finally {
01372                 _releaseReply ($in);
01373             }
01374   } // checkAllModulesProbe
01375 
01376   public short[] probe (int partition, int crate, int rod)
01377   {
01378             org.omg.CORBA.portable.InputStream $in = null;
01379             try {
01380                 org.omg.CORBA.portable.OutputStream $out = _request ("probe", true);
01381                 $out.write_ulong (partition);
01382                 $out.write_ulong (crate);
01383                 $out.write_ulong (rod);
01384                 $in = _invoke ($out);
01385                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01386                 return $result;
01387             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01388                 $in = $ex.getInputStream ();
01389                 String _id = $ex.getId ();
01390                 throw new org.omg.CORBA.MARSHAL (_id);
01391             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01392                 return probe (partition, crate, rod        );
01393             } finally {
01394                 _releaseReply ($in);
01395             }
01396   } // probe
01397 
01398   public short[] probeHarness (int partition, int crate, int rod, int harness)
01399   {
01400             org.omg.CORBA.portable.InputStream $in = null;
01401             try {
01402                 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarness", true);
01403                 $out.write_ulong (partition);
01404                 $out.write_ulong (crate);
01405                 $out.write_ulong (rod);
01406                 $out.write_ulong (harness);
01407                 $in = _invoke ($out);
01408                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01409                 return $result;
01410             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01411                 $in = $ex.getInputStream ();
01412                 String _id = $ex.getId ();
01413                 throw new org.omg.CORBA.MARSHAL (_id);
01414             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01415                 return probeHarness (partition, crate, rod, harness        );
01416             } finally {
01417                 _releaseReply ($in);
01418             }
01419   } // probeHarness
01420 
01421   public short[] probeWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
01422   {
01423             org.omg.CORBA.portable.InputStream $in = null;
01424             try {
01425                 org.omg.CORBA.portable.OutputStream $out = _request ("probeWithTrigger", true);
01426                 $out.write_ulong (partition);
01427                 $out.write_ulong (crate);
01428                 $out.write_ulong (rod);
01429                 Sct_SctApi.TriggerHelper.write ($out, trig);
01430                 $in = _invoke ($out);
01431                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01432                 return $result;
01433             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01434                 $in = $ex.getInputStream ();
01435                 String _id = $ex.getId ();
01436                 throw new org.omg.CORBA.MARSHAL (_id);
01437             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01438                 return probeWithTrigger (partition, crate, rod, trig        );
01439             } finally {
01440                 _releaseReply ($in);
01441             }
01442   } // probeWithTrigger
01443 
01444   public short[] probeHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig, int harness)
01445   {
01446             org.omg.CORBA.portable.InputStream $in = null;
01447             try {
01448                 org.omg.CORBA.portable.OutputStream $out = _request ("probeHarnessWithTrigger", true);
01449                 $out.write_ulong (partition);
01450                 $out.write_ulong (crate);
01451                 $out.write_ulong (rod);
01452                 Sct_SctApi.TriggerHelper.write ($out, trig);
01453                 $out.write_ulong (harness);
01454                 $in = _invoke ($out);
01455                 short $result[] = Sct_SctApi.CharBlockHelper.read ($in);
01456                 return $result;
01457             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01458                 $in = $ex.getInputStream ();
01459                 String _id = $ex.getId ();
01460                 throw new org.omg.CORBA.MARSHAL (_id);
01461             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01462                 return probeHarnessWithTrigger (partition, crate, rod, trig, harness        );
01463             } finally {
01464                 _releaseReply ($in);
01465             }
01466   } // probeHarnessWithTrigger
01467 
01468   public short[][] probeScanHarnessWithTrigger (int partition, int crate, int rod, Sct_SctApi.Scan trig, int harness)
01469   {
01470             org.omg.CORBA.portable.InputStream $in = null;
01471             try {
01472                 org.omg.CORBA.portable.OutputStream $out = _request ("probeScanHarnessWithTrigger", true);
01473                 $out.write_ulong (partition);
01474                 $out.write_ulong (crate);
01475                 $out.write_ulong (rod);
01476                 Sct_SctApi.ScanHelper.write ($out, trig);
01477                 $out.write_ulong (harness);
01478                 $in = _invoke ($out);
01479                 short $result[][] = Sct_SctApi.CharMatrixHelper.read ($in);
01480                 return $result;
01481             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01482                 $in = $ex.getInputStream ();
01483                 String _id = $ex.getId ();
01484                 throw new org.omg.CORBA.MARSHAL (_id);
01485             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01486                 return probeScanHarnessWithTrigger (partition, crate, rod, trig, harness        );
01487             } finally {
01488                 _releaseReply ($in);
01489             }
01490   } // probeScanHarnessWithTrigger
01491 
01492   public void initialiseAll (int runNumber) throws Sct_SctApi.SctApiException
01493   {
01494             org.omg.CORBA.portable.InputStream $in = null;
01495             try {
01496                 org.omg.CORBA.portable.OutputStream $out = _request ("initialiseAll", true);
01497                 $out.write_ulong (runNumber);
01498                 $in = _invoke ($out);
01499                 return;
01500             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01501                 $in = $ex.getInputStream ();
01502                 String _id = $ex.getId ();
01503                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01504                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01505                 else
01506                     throw new org.omg.CORBA.MARSHAL (_id);
01507             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01508                 initialiseAll (runNumber        );
01509             } finally {
01510                 _releaseReply ($in);
01511             }
01512   } // initialiseAll
01513 
01514   public boolean isInitialised ()
01515   {
01516             org.omg.CORBA.portable.InputStream $in = null;
01517             try {
01518                 org.omg.CORBA.portable.OutputStream $out = _request ("isInitialised", true);
01519                 $in = _invoke ($out);
01520                 boolean $result = $in.read_boolean ();
01521                 return $result;
01522             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01523                 $in = $ex.getInputStream ();
01524                 String _id = $ex.getId ();
01525                 throw new org.omg.CORBA.MARSHAL (_id);
01526             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01527                 return isInitialised (        );
01528             } finally {
01529                 _releaseReply ($in);
01530             }
01531   } // isInitialised
01532 
01533   public void shutdownAll () throws Sct_SctApi.SctApiException
01534   {
01535             org.omg.CORBA.portable.InputStream $in = null;
01536             try {
01537                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdownAll", true);
01538                 $in = _invoke ($out);
01539                 return;
01540             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01541                 $in = $ex.getInputStream ();
01542                 String _id = $ex.getId ();
01543                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01544                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01545                 else
01546                     throw new org.omg.CORBA.MARSHAL (_id);
01547             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01548                 shutdownAll (        );
01549             } finally {
01550                 _releaseReply ($in);
01551             }
01552   } // shutdownAll
01553 
01554   public String status ()
01555   {
01556             org.omg.CORBA.portable.InputStream $in = null;
01557             try {
01558                 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
01559                 $in = _invoke ($out);
01560                 String $result = $in.read_string ();
01561                 return $result;
01562             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01563                 $in = $ex.getInputStream ();
01564                 String _id = $ex.getId ();
01565                 throw new org.omg.CORBA.MARSHAL (_id);
01566             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01567                 return status (        );
01568             } finally {
01569                 _releaseReply ($in);
01570             }
01571   } // status
01572 
01573   public void setRunNumber (int newRun)
01574   {
01575             org.omg.CORBA.portable.InputStream $in = null;
01576             try {
01577                 org.omg.CORBA.portable.OutputStream $out = _request ("setRunNumber", true);
01578                 $out.write_ulong (newRun);
01579                 $in = _invoke ($out);
01580                 return;
01581             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01582                 $in = $ex.getInputStream ();
01583                 String _id = $ex.getId ();
01584                 throw new org.omg.CORBA.MARSHAL (_id);
01585             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01586                 setRunNumber (newRun        );
01587             } finally {
01588                 _releaseReply ($in);
01589             }
01590   } // setRunNumber
01591 
01592   public void setScanNumber (int newScan)
01593   {
01594             org.omg.CORBA.portable.InputStream $in = null;
01595             try {
01596                 org.omg.CORBA.portable.OutputStream $out = _request ("setScanNumber", true);
01597                 $out.write_ulong (newScan);
01598                 $in = _invoke ($out);
01599                 return;
01600             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01601                 $in = $ex.getInputStream ();
01602                 String _id = $ex.getId ();
01603                 throw new org.omg.CORBA.MARSHAL (_id);
01604             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01605                 setScanNumber (newScan        );
01606             } finally {
01607                 _releaseReply ($in);
01608             }
01609   } // setScanNumber
01610 
01611   public int getRunNumber ()
01612   {
01613             org.omg.CORBA.portable.InputStream $in = null;
01614             try {
01615                 org.omg.CORBA.portable.OutputStream $out = _request ("getRunNumber", true);
01616                 $in = _invoke ($out);
01617                 int $result = $in.read_ulong ();
01618                 return $result;
01619             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01620                 $in = $ex.getInputStream ();
01621                 String _id = $ex.getId ();
01622                 throw new org.omg.CORBA.MARSHAL (_id);
01623             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01624                 return getRunNumber (        );
01625             } finally {
01626                 _releaseReply ($in);
01627             }
01628   } // getRunNumber
01629 
01630   public int getScanNumber ()
01631   {
01632             org.omg.CORBA.portable.InputStream $in = null;
01633             try {
01634                 org.omg.CORBA.portable.OutputStream $out = _request ("getScanNumber", true);
01635                 $in = _invoke ($out);
01636                 int $result = $in.read_ulong ();
01637                 return $result;
01638             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01639                 $in = $ex.getInputStream ();
01640                 String _id = $ex.getId ();
01641                 throw new org.omg.CORBA.MARSHAL (_id);
01642             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01643                 return getScanNumber (        );
01644             } finally {
01645                 _releaseReply ($in);
01646             }
01647   } // getScanNumber
01648 
01649   public boolean changeRunMode (Sct_SctApi.RunType mode)
01650   {
01651             org.omg.CORBA.portable.InputStream $in = null;
01652             try {
01653                 org.omg.CORBA.portable.OutputStream $out = _request ("changeRunMode", true);
01654                 Sct_SctApi.RunTypeHelper.write ($out, mode);
01655                 $in = _invoke ($out);
01656                 boolean $result = $in.read_boolean ();
01657                 return $result;
01658             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01659                 $in = $ex.getInputStream ();
01660                 String _id = $ex.getId ();
01661                 throw new org.omg.CORBA.MARSHAL (_id);
01662             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01663                 return changeRunMode (mode        );
01664             } finally {
01665                 _releaseReply ($in);
01666             }
01667   } // changeRunMode
01668 
01669   public boolean changeEventFormat (Sct_SctApi.EventFormatType format)
01670   {
01671             org.omg.CORBA.portable.InputStream $in = null;
01672             try {
01673                 org.omg.CORBA.portable.OutputStream $out = _request ("changeEventFormat", true);
01674                 Sct_SctApi.EventFormatTypeHelper.write ($out, format);
01675                 $in = _invoke ($out);
01676                 boolean $result = $in.read_boolean ();
01677                 return $result;
01678             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01679                 $in = $ex.getInputStream ();
01680                 String _id = $ex.getId ();
01681                 throw new org.omg.CORBA.MARSHAL (_id);
01682             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01683                 return changeEventFormat (format        );
01684             } finally {
01685                 _releaseReply ($in);
01686             }
01687   } // changeEventFormat
01688 
01689   public void standardRegisterDumpAll ()
01690   {
01691             org.omg.CORBA.portable.InputStream $in = null;
01692             try {
01693                 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpAll", true);
01694                 $in = _invoke ($out);
01695                 return;
01696             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01697                 $in = $ex.getInputStream ();
01698                 String _id = $ex.getId ();
01699                 throw new org.omg.CORBA.MARSHAL (_id);
01700             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01701                 standardRegisterDumpAll (        );
01702             } finally {
01703                 _releaseReply ($in);
01704             }
01705   } // standardRegisterDumpAll
01706 
01707   public void lasersOff ()
01708   {
01709             org.omg.CORBA.portable.InputStream $in = null;
01710             try {
01711                 org.omg.CORBA.portable.OutputStream $out = _request ("lasersOff", true);
01712                 $in = _invoke ($out);
01713                 return;
01714             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01715                 $in = $ex.getInputStream ();
01716                 String _id = $ex.getId ();
01717                 throw new org.omg.CORBA.MARSHAL (_id);
01718             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01719                 lasersOff (        );
01720             } finally {
01721                 _releaseReply ($in);
01722             }
01723   } // lasersOff
01724 
01725   public String[] getModuleList ()
01726   {
01727             org.omg.CORBA.portable.InputStream $in = null;
01728             try {
01729                 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleList", true);
01730                 $in = _invoke ($out);
01731                 String $result[] = sctConf.ModuleListHelper.read ($in);
01732                 return $result;
01733             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01734                 $in = $ex.getInputStream ();
01735                 String _id = $ex.getId ();
01736                 throw new org.omg.CORBA.MARSHAL (_id);
01737             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01738                 return getModuleList (        );
01739             } finally {
01740                 _releaseReply ($in);
01741             }
01742   } // getModuleList
01743 
01744   public void unsetDebugOption (String opt)
01745   {
01746             org.omg.CORBA.portable.InputStream $in = null;
01747             try {
01748                 org.omg.CORBA.portable.OutputStream $out = _request ("unsetDebugOption", true);
01749                 $out.write_string (opt);
01750                 $in = _invoke ($out);
01751                 return;
01752             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01753                 $in = $ex.getInputStream ();
01754                 String _id = $ex.getId ();
01755                 throw new org.omg.CORBA.MARSHAL (_id);
01756             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01757                 unsetDebugOption (opt        );
01758             } finally {
01759                 _releaseReply ($in);
01760             }
01761   } // unsetDebugOption
01762 
01763   public void setDebugOption (String opt)
01764   {
01765             org.omg.CORBA.portable.InputStream $in = null;
01766             try {
01767                 org.omg.CORBA.portable.OutputStream $out = _request ("setDebugOption", true);
01768                 $out.write_string (opt);
01769                 $in = _invoke ($out);
01770                 return;
01771             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01772                 $in = $ex.getInputStream ();
01773                 String _id = $ex.getId ();
01774                 throw new org.omg.CORBA.MARSHAL (_id);
01775             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01776                 setDebugOption (opt        );
01777             } finally {
01778                 _releaseReply ($in);
01779             }
01780   } // setDebugOption
01781 
01782   public String[] listDebugOptions ()
01783   {
01784             org.omg.CORBA.portable.InputStream $in = null;
01785             try {
01786                 org.omg.CORBA.portable.OutputStream $out = _request ("listDebugOptions", true);
01787                 $in = _invoke ($out);
01788                 String $result[] = Sct_SctApi.DebugOptionListHelper.read ($in);
01789                 return $result;
01790             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01791                 $in = $ex.getInputStream ();
01792                 String _id = $ex.getId ();
01793                 throw new org.omg.CORBA.MARSHAL (_id);
01794             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01795                 return listDebugOptions (        );
01796             } finally {
01797                 _releaseReply ($in);
01798             }
01799   } // listDebugOptions
01800 
01801   public void unsetBusy ()
01802   {
01803             org.omg.CORBA.portable.InputStream $in = null;
01804             try {
01805                 org.omg.CORBA.portable.OutputStream $out = _request ("unsetBusy", true);
01806                 $in = _invoke ($out);
01807                 return;
01808             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01809                 $in = $ex.getInputStream ();
01810                 String _id = $ex.getId ();
01811                 throw new org.omg.CORBA.MARSHAL (_id);
01812             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01813                 unsetBusy (        );
01814             } finally {
01815                 _releaseReply ($in);
01816             }
01817   } // unsetBusy
01818 
01819 
01820   //    void loadConfiguration();
01821   public void loadConfiguration (String filename) throws Sct_SctApi.SctApiException
01822   {
01823             org.omg.CORBA.portable.InputStream $in = null;
01824             try {
01825                 org.omg.CORBA.portable.OutputStream $out = _request ("loadConfiguration", true);
01826                 $out.write_string (filename);
01827                 $in = _invoke ($out);
01828                 return;
01829             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01830                 $in = $ex.getInputStream ();
01831                 String _id = $ex.getId ();
01832                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
01833                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
01834                 else
01835                     throw new org.omg.CORBA.MARSHAL (_id);
01836             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01837                 loadConfiguration (filename        );
01838             } finally {
01839                 _releaseReply ($in);
01840             }
01841   } // loadConfiguration
01842 
01843   // Type-specific CORBA::Object operations
01844   private static String[] __ids = {
01845     "IDL:Sct_SctApi/SctApiIPC:1.0", 
01846     "IDL:ipc/servant:1.0", 
01847     "IDL:Sct_SctApi/JustTopLevel:1.0", 
01848     "IDL:Sct_SctApi/CrateAccessTopLevel:1.0", 
01849     "IDL:Sct_SctApi/DebugOptionsJustTop:1.0", 
01850     "IDL:Sct_SctApi/ScanMethods:1.0", 
01851     "IDL:Sct_SctApi/JustTopLevelTemporary:1.0", 
01852     "IDL:Sct_SctApi/TranslationMethods:1.0", 
01853     "IDL:Sct_SctApi/CommonToTopAndCrate:1.0", 
01854     "IDL:Sct_SctApi/DoScanMethods:1.0", 
01855     "IDL:Sct_SctApi/ModifyABCDMethods:1.0", 
01856     "IDL:Sct_SctApi/ModuleConfigurationMethods:1.0", 
01857     "IDL:Sct_SctApi/RetrievingConfigurationMethods:1.0", 
01858     "IDL:Sct_SctApi/BOCConfigurationMethods:1.0", 
01859     "IDL:Sct_SctApi/SavingConfigurationMethods:1.0", 
01860     "IDL:Sct_SctApi/TriggerRODLevel:1.0", 
01861     "IDL:Sct_SctApi/TriggerTIMLevel:1.0", 
01862     "IDL:Sct_SctApi/AutoConfigure:1.0", 
01863     "IDL:Sct_SctApi/ProbeChecks:1.0", 
01864     "IDL:Sct_SctApi/ProbeMethods:1.0", 
01865     "IDL:Sct_SctApi/RunControl:1.0", 
01866     "IDL:Sct_SctApi/ModuleInquiry:1.0", 
01867     "IDL:Sct_SctApi/DebugOptionsCommon:1.0", 
01868     "IDL:Sct_SctApi/DeprecatedInterfaceOne:1.0"};
01869 
01870   public String[] _ids ()
01871   {
01872     return (String[])__ids.clone ();
01873   }
01874 
01875   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
01876   {
01877      String str = s.readUTF ();
01878      String[] args = null;
01879      java.util.Properties props = null;
01880      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
01881      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
01882      _set_delegate (delegate);
01883   }
01884 
01885   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
01886   {
01887      String[] args = null;
01888      java.util.Properties props = null;
01889      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
01890      s.writeUTF (str);
01891   }
01892 } // class _SctApiIPCStub

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