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

_CrateIPCStub.java

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

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