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

_JustCrateMethodsTemporaryStub.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class _JustCrateMethodsTemporaryStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.JustCrateMethodsTemporary
00012 {
00013 
00014   public void awaitResponse (int partition, int crate, int rod)
00015   {
00016             org.omg.CORBA.portable.InputStream $in = null;
00017             try {
00018                 org.omg.CORBA.portable.OutputStream $out = _request ("awaitResponse", true);
00019                 $out.write_ulong (partition);
00020                 $out.write_ulong (crate);
00021                 $out.write_ulong (rod);
00022                 $in = _invoke ($out);
00023                 return;
00024             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00025                 $in = $ex.getInputStream ();
00026                 String _id = $ex.getId ();
00027                 throw new org.omg.CORBA.MARSHAL (_id);
00028             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00029                 awaitResponse (partition, crate, rod        );
00030             } finally {
00031                 _releaseReply ($in);
00032             }
00033   } // awaitResponse
00034 
00035   public int[] getResponse (int partition, int crate, int rod)
00036   {
00037             org.omg.CORBA.portable.InputStream $in = null;
00038             try {
00039                 org.omg.CORBA.portable.OutputStream $out = _request ("getResponse", true);
00040                 $out.write_ulong (partition);
00041                 $out.write_ulong (crate);
00042                 $out.write_ulong (rod);
00043                 $in = _invoke ($out);
00044                 int $result[] = Sct_SctApi.DataBlockHelper.read ($in);
00045                 return $result;
00046             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00047                 $in = $ex.getInputStream ();
00048                 String _id = $ex.getId ();
00049                 throw new org.omg.CORBA.MARSHAL (_id);
00050             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00051                 return getResponse (partition, crate, rod        );
00052             } finally {
00053                 _releaseReply ($in);
00054             }
00055   } // getResponse
00056 
00057   public void createDebugPrimList () throws Sct_SctApi.SctApiException
00058   {
00059             org.omg.CORBA.portable.InputStream $in = null;
00060             try {
00061                 org.omg.CORBA.portable.OutputStream $out = _request ("createDebugPrimList", true);
00062                 $in = _invoke ($out);
00063                 return;
00064             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00065                 $in = $ex.getInputStream ();
00066                 String _id = $ex.getId ();
00067                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00068                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00069                 else
00070                     throw new org.omg.CORBA.MARSHAL (_id);
00071             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00072                 createDebugPrimList (        );
00073             } finally {
00074                 _releaseReply ($in);
00075             }
00076   } // createDebugPrimList
00077 
00078   public void addDebugPrimList (int index, int id, int version, int[] body) throws Sct_SctApi.SctApiException
00079   {
00080             org.omg.CORBA.portable.InputStream $in = null;
00081             try {
00082                 org.omg.CORBA.portable.OutputStream $out = _request ("addDebugPrimList", true);
00083                 $out.write_long (index);
00084                 $out.write_long (id);
00085                 $out.write_long (version);
00086                 Sct_SctApi.DataBlockHelper.write ($out, body);
00087                 $in = _invoke ($out);
00088                 return;
00089             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00090                 $in = $ex.getInputStream ();
00091                 String _id = $ex.getId ();
00092                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00093                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00094                 else
00095                     throw new org.omg.CORBA.MARSHAL (_id);
00096             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00097                 addDebugPrimList (index, id, version, body        );
00098             } finally {
00099                 _releaseReply ($in);
00100             }
00101   } // addDebugPrimList
00102 
00103   public void sendDebugPrimList (int partition, int crate, int rod) throws Sct_SctApi.SctApiException
00104   {
00105             org.omg.CORBA.portable.InputStream $in = null;
00106             try {
00107                 org.omg.CORBA.portable.OutputStream $out = _request ("sendDebugPrimList", true);
00108                 $out.write_ulong (partition);
00109                 $out.write_ulong (crate);
00110                 $out.write_ulong (rod);
00111                 $in = _invoke ($out);
00112                 return;
00113             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00114                 $in = $ex.getInputStream ();
00115                 String _id = $ex.getId ();
00116                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00117                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00118                 else
00119                     throw new org.omg.CORBA.MARSHAL (_id);
00120             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00121                 sendDebugPrimList (partition, crate, rod        );
00122             } finally {
00123                 _releaseReply ($in);
00124             }
00125   } // sendDebugPrimList
00126 
00127   public void sendDebugSlavePrimList (int partition, int crate, int rod, int slave, boolean await, boolean response) throws Sct_SctApi.SctApiException
00128   {
00129             org.omg.CORBA.portable.InputStream $in = null;
00130             try {
00131                 org.omg.CORBA.portable.OutputStream $out = _request ("sendDebugSlavePrimList", true);
00132                 $out.write_ulong (partition);
00133                 $out.write_ulong (crate);
00134                 $out.write_ulong (rod);
00135                 $out.write_ulong (slave);
00136                 $out.write_boolean (await);
00137                 $out.write_boolean (response);
00138                 $in = _invoke ($out);
00139                 return;
00140             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00141                 $in = $ex.getInputStream ();
00142                 String _id = $ex.getId ();
00143                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00144                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00145                 else
00146                     throw new org.omg.CORBA.MARSHAL (_id);
00147             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00148                 sendDebugSlavePrimList (partition, crate, rod, slave, await, response        );
00149             } finally {
00150                 _releaseReply ($in);
00151             }
00152   } // sendDebugSlavePrimList
00153 
00154   public void flashLED (int partition, int crate, int rod, short slaveNumber, int period, int flashes) throws Sct_SctApi.SctApiException
00155   {
00156             org.omg.CORBA.portable.InputStream $in = null;
00157             try {
00158                 org.omg.CORBA.portable.OutputStream $out = _request ("flashLED", true);
00159                 $out.write_ulong (partition);
00160                 $out.write_ulong (crate);
00161                 $out.write_ulong (rod);
00162                 $out.write_ushort (slaveNumber);
00163                 $out.write_ulong (period);
00164                 $out.write_ulong (flashes);
00165                 $in = _invoke ($out);
00166                 return;
00167             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00168                 $in = $ex.getInputStream ();
00169                 String _id = $ex.getId ();
00170                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00171                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00172                 else
00173                     throw new org.omg.CORBA.MARSHAL (_id);
00174             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00175                 flashLED (partition, crate, rod, slaveNumber, period, flashes        );
00176             } finally {
00177                 _releaseReply ($in);
00178             }
00179   } // flashLED
00180 
00181   public void echo (int partition, int crate, int rod, int[] data) throws Sct_SctApi.SctApiException
00182   {
00183             org.omg.CORBA.portable.InputStream $in = null;
00184             try {
00185                 org.omg.CORBA.portable.OutputStream $out = _request ("echo", true);
00186                 $out.write_ulong (partition);
00187                 $out.write_ulong (crate);
00188                 $out.write_ulong (rod);
00189                 Sct_SctApi.DataBlockHelper.write ($out, data);
00190                 $in = _invoke ($out);
00191                 return;
00192             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00193                 $in = $ex.getInputStream ();
00194                 String _id = $ex.getId ();
00195                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00196                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00197                 else
00198                     throw new org.omg.CORBA.MARSHAL (_id);
00199             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00200                 echo (partition, crate, rod, data        );
00201             } finally {
00202                 _releaseReply ($in);
00203             }
00204   } // echo
00205 
00206   public void printABCDModule (int mid)
00207   {
00208             org.omg.CORBA.portable.InputStream $in = null;
00209             try {
00210                 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDModule", true);
00211                 $out.write_ulong (mid);
00212                 $in = _invoke ($out);
00213                 return;
00214             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00215                 $in = $ex.getInputStream ();
00216                 String _id = $ex.getId ();
00217                 throw new org.omg.CORBA.MARSHAL (_id);
00218             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00219                 printABCDModule (mid        );
00220             } finally {
00221                 _releaseReply ($in);
00222             }
00223   } // printABCDModule
00224 
00225   public void printABCDRodModule (int mid, Sct_SctApi.BankType bank)
00226   {
00227             org.omg.CORBA.portable.InputStream $in = null;
00228             try {
00229                 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDRodModule", true);
00230                 $out.write_ulong (mid);
00231                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00232                 $in = _invoke ($out);
00233                 return;
00234             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00235                 $in = $ex.getInputStream ();
00236                 String _id = $ex.getId ();
00237                 throw new org.omg.CORBA.MARSHAL (_id);
00238             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00239                 printABCDRodModule (mid, bank        );
00240             } finally {
00241                 _releaseReply ($in);
00242             }
00243   } // printABCDRodModule
00244 
00245   public void decodeEvent (int partition, int crate, int rod, short sl, short index, boolean extFlag, boolean errorType)
00246   {
00247             org.omg.CORBA.portable.InputStream $in = null;
00248             try {
00249                 org.omg.CORBA.portable.OutputStream $out = _request ("decodeEvent", true);
00250                 $out.write_ulong (partition);
00251                 $out.write_ulong (crate);
00252                 $out.write_ulong (rod);
00253                 $out.write_short (sl);
00254                 $out.write_short (index);
00255                 $out.write_boolean (extFlag);
00256                 $out.write_boolean (errorType);
00257                 $in = _invoke ($out);
00258                 return;
00259             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00260                 $in = $ex.getInputStream ();
00261                 String _id = $ex.getId ();
00262                 throw new org.omg.CORBA.MARSHAL (_id);
00263             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00264                 decodeEvent (partition, crate, rod, sl, index, extFlag, errorType        );
00265             } finally {
00266                 _releaseReply ($in);
00267             }
00268   } // decodeEvent
00269 
00270   public void configureBOC (int partition, int crate, int rod)
00271   {
00272             org.omg.CORBA.portable.InputStream $in = null;
00273             try {
00274                 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
00275                 $out.write_ulong (partition);
00276                 $out.write_ulong (crate);
00277                 $out.write_ulong (rod);
00278                 $in = _invoke ($out);
00279                 return;
00280             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00281                 $in = $ex.getInputStream ();
00282                 String _id = $ex.getId ();
00283                 throw new org.omg.CORBA.MARSHAL (_id);
00284             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00285                 configureBOC (partition, crate, rod        );
00286             } finally {
00287                 _releaseReply ($in);
00288             }
00289   } // configureBOC
00290 
00291   public double[] getBOCMonitorArray (int partition, int crate, int rod)
00292   {
00293             org.omg.CORBA.portable.InputStream $in = null;
00294             try {
00295                 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCMonitorArray", true);
00296                 $out.write_ulong (partition);
00297                 $out.write_ulong (crate);
00298                 $out.write_ulong (rod);
00299                 $in = _invoke ($out);
00300                 double $result[] = Sct_SctApi.BOCMonitorSequenceHelper.read ($in);
00301                 return $result;
00302             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00303                 $in = $ex.getInputStream ();
00304                 String _id = $ex.getId ();
00305                 throw new org.omg.CORBA.MARSHAL (_id);
00306             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00307                 return getBOCMonitorArray (partition, crate, rod        );
00308             } finally {
00309                 _releaseReply ($in);
00310             }
00311   } // getBOCMonitorArray
00312 
00313   public int getRodSlot (int partition, int crate, int rod)
00314   {
00315             org.omg.CORBA.portable.InputStream $in = null;
00316             try {
00317                 org.omg.CORBA.portable.OutputStream $out = _request ("getRodSlot", true);
00318                 $out.write_ulong (partition);
00319                 $out.write_ulong (crate);
00320                 $out.write_ulong (rod);
00321                 $in = _invoke ($out);
00322                 int $result = $in.read_ulong ();
00323                 return $result;
00324             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00325                 $in = $ex.getInputStream ();
00326                 String _id = $ex.getId ();
00327                 throw new org.omg.CORBA.MARSHAL (_id);
00328             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00329                 return getRodSlot (partition, crate, rod        );
00330             } finally {
00331                 _releaseReply ($in);
00332             }
00333   } // getRodSlot
00334 
00335   public void testLinkOutSelect (int partition, int crate, int rod, int link)
00336   {
00337             org.omg.CORBA.portable.InputStream $in = null;
00338             try {
00339                 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutSelect", true);
00340                 $out.write_ulong (partition);
00341                 $out.write_ulong (crate);
00342                 $out.write_ulong (rod);
00343                 $out.write_ulong (link);
00344                 $in = _invoke ($out);
00345                 return;
00346             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00347                 $in = $ex.getInputStream ();
00348                 String _id = $ex.getId ();
00349                 throw new org.omg.CORBA.MARSHAL (_id);
00350             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00351                 testLinkOutSelect (partition, crate, rod, link        );
00352             } finally {
00353                 _releaseReply ($in);
00354             }
00355   } // testLinkOutSelect
00356 
00357   public int testLinkOutRetrieve (int partition, int crate, int rod)
00358   {
00359             org.omg.CORBA.portable.InputStream $in = null;
00360             try {
00361                 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutRetrieve", true);
00362                 $out.write_ulong (partition);
00363                 $out.write_ulong (crate);
00364                 $out.write_ulong (rod);
00365                 $in = _invoke ($out);
00366                 int $result = $in.read_ulong ();
00367                 return $result;
00368             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00369                 $in = $ex.getInputStream ();
00370                 String _id = $ex.getId ();
00371                 throw new org.omg.CORBA.MARSHAL (_id);
00372             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00373                 return testLinkOutRetrieve (partition, crate, rod        );
00374             } finally {
00375                 _releaseReply ($in);
00376             }
00377   } // testLinkOutRetrieve
00378 
00379   public boolean isRODPresent (int partition, int crate, int rod)
00380   {
00381             org.omg.CORBA.portable.InputStream $in = null;
00382             try {
00383                 org.omg.CORBA.portable.OutputStream $out = _request ("isRODPresent", true);
00384                 $out.write_ulong (partition);
00385                 $out.write_ulong (crate);
00386                 $out.write_ulong (rod);
00387                 $in = _invoke ($out);
00388                 boolean $result = $in.read_boolean ();
00389                 return $result;
00390             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00391                 $in = $ex.getInputStream ();
00392                 String _id = $ex.getId ();
00393                 throw new org.omg.CORBA.MARSHAL (_id);
00394             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00395                 return isRODPresent (partition, crate, rod        );
00396             } finally {
00397                 _releaseReply ($in);
00398             }
00399   } // isRODPresent
00400 
00401   // Type-specific CORBA::Object operations
00402   private static String[] __ids = {
00403     "IDL:Sct_SctApi/JustCrateMethodsTemporary:1.0", 
00404     "IDL:Sct_SctApi/PrimitiveAccessLowLevel:1.0", 
00405     "IDL:Sct_SctApi/DebugSTDOUT:1.0", 
00406     "IDL:Sct_SctApi/OtherCrateLevel:1.0"};
00407 
00408   public String[] _ids ()
00409   {
00410     return (String[])__ids.clone ();
00411   }
00412 
00413   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00414   {
00415      String str = s.readUTF ();
00416      String[] args = null;
00417      java.util.Properties props = null;
00418      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00419      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00420      _set_delegate (delegate);
00421   }
00422 
00423   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00424   {
00425      String[] args = null;
00426      java.util.Properties props = null;
00427      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00428      s.writeUTF (str);
00429   }
00430 } // class _JustCrateMethodsTemporaryStub

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