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

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