_SctApiIPCOriginalStub.java

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

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