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

_TriggerStub.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class _TriggerStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.Trigger
00012 {
00013 
00014   public void singleL1A ()
00015   {
00016             org.omg.CORBA.portable.InputStream $in = null;
00017             try {
00018                 org.omg.CORBA.portable.OutputStream $out = _request ("singleL1A", true);
00019                 $in = _invoke ($out);
00020                 return;
00021             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00022                 $in = $ex.getInputStream ();
00023                 String _id = $ex.getId ();
00024                 throw new org.omg.CORBA.MARSHAL (_id);
00025             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00026                 singleL1A (        );
00027             } finally {
00028                 _releaseReply ($in);
00029             }
00030   } // singleL1A
00031 
00032   public void doubleL1A (short delay)
00033   {
00034             org.omg.CORBA.portable.InputStream $in = null;
00035             try {
00036                 org.omg.CORBA.portable.OutputStream $out = _request ("doubleL1A", true);
00037                 $out.write_ushort (delay);
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                 doubleL1A (delay        );
00046             } finally {
00047                 _releaseReply ($in);
00048             }
00049   } // doubleL1A
00050 
00051   public void delayedL1A (short delay)
00052   {
00053             org.omg.CORBA.portable.InputStream $in = null;
00054             try {
00055                 org.omg.CORBA.portable.OutputStream $out = _request ("delayedL1A", true);
00056                 $out.write_ushort (delay);
00057                 $in = _invoke ($out);
00058                 return;
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                 delayedL1A (delay        );
00065             } finally {
00066                 _releaseReply ($in);
00067             }
00068   } // delayedL1A
00069 
00070   public void calL1A (short delay)
00071   {
00072             org.omg.CORBA.portable.InputStream $in = null;
00073             try {
00074                 org.omg.CORBA.portable.OutputStream $out = _request ("calL1A", true);
00075                 $out.write_ushort (delay);
00076                 $in = _invoke ($out);
00077                 return;
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                 calL1A (delay        );
00084             } finally {
00085                 _releaseReply ($in);
00086             }
00087   } // calL1A
00088 
00089   public void pulseL1A (short delay)
00090   {
00091             org.omg.CORBA.portable.InputStream $in = null;
00092             try {
00093                 org.omg.CORBA.portable.OutputStream $out = _request ("pulseL1A", true);
00094                 $out.write_ushort (delay);
00095                 $in = _invoke ($out);
00096                 return;
00097             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00098                 $in = $ex.getInputStream ();
00099                 String _id = $ex.getId ();
00100                 throw new org.omg.CORBA.MARSHAL (_id);
00101             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00102                 pulseL1A (delay        );
00103             } finally {
00104                 _releaseReply ($in);
00105             }
00106   } // pulseL1A
00107 
00108   public void softL1A (short delay)
00109   {
00110             org.omg.CORBA.portable.InputStream $in = null;
00111             try {
00112                 org.omg.CORBA.portable.OutputStream $out = _request ("softL1A", true);
00113                 $out.write_ushort (delay);
00114                 $in = _invoke ($out);
00115                 return;
00116             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00117                 $in = $ex.getInputStream ();
00118                 String _id = $ex.getId ();
00119                 throw new org.omg.CORBA.MARSHAL (_id);
00120             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00121                 softL1A (delay        );
00122             } finally {
00123                 _releaseReply ($in);
00124             }
00125   } // softL1A
00126 
00127   public void softCalL1A (short delay, short delay2)
00128   {
00129             org.omg.CORBA.portable.InputStream $in = null;
00130             try {
00131                 org.omg.CORBA.portable.OutputStream $out = _request ("softCalL1A", true);
00132                 $out.write_ushort (delay);
00133                 $out.write_ushort (delay2);
00134                 $in = _invoke ($out);
00135                 return;
00136             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00137                 $in = $ex.getInputStream ();
00138                 String _id = $ex.getId ();
00139                 throw new org.omg.CORBA.MARSHAL (_id);
00140             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00141                 softCalL1A (delay, delay2        );
00142             } finally {
00143                 _releaseReply ($in);
00144             }
00145   } // softCalL1A
00146 
00147   public void softPulseL1A (short delay, short delay2)
00148   {
00149             org.omg.CORBA.portable.InputStream $in = null;
00150             try {
00151                 org.omg.CORBA.portable.OutputStream $out = _request ("softPulseL1A", true);
00152                 $out.write_ushort (delay);
00153                 $out.write_ushort (delay2);
00154                 $in = _invoke ($out);
00155                 return;
00156             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00157                 $in = $ex.getInputStream ();
00158                 String _id = $ex.getId ();
00159                 throw new org.omg.CORBA.MARSHAL (_id);
00160             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00161                 softPulseL1A (delay, delay2        );
00162             } finally {
00163                 _releaseReply ($in);
00164             }
00165   } // softPulseL1A
00166 
00167   public void softBc (short delay)
00168   {
00169             org.omg.CORBA.portable.InputStream $in = null;
00170             try {
00171                 org.omg.CORBA.portable.OutputStream $out = _request ("softBc", true);
00172                 $out.write_ushort (delay);
00173                 $in = _invoke ($out);
00174                 return;
00175             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00176                 $in = $ex.getInputStream ();
00177                 String _id = $ex.getId ();
00178                 throw new org.omg.CORBA.MARSHAL (_id);
00179             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00180                 softBc (delay        );
00181             } finally {
00182                 _releaseReply ($in);
00183             }
00184   } // softBc
00185 
00186   public void bcL1A (short delay)
00187   {
00188             org.omg.CORBA.portable.InputStream $in = null;
00189             try {
00190                 org.omg.CORBA.portable.OutputStream $out = _request ("bcL1A", true);
00191                 $out.write_ushort (delay);
00192                 $in = _invoke ($out);
00193                 return;
00194             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00195                 $in = $ex.getInputStream ();
00196                 String _id = $ex.getId ();
00197                 throw new org.omg.CORBA.MARSHAL (_id);
00198             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00199                 bcL1A (delay        );
00200             } finally {
00201                 _releaseReply ($in);
00202             }
00203   } // bcL1A
00204 
00205   public void bcCalL1A (short delay, short delay2)
00206   {
00207             org.omg.CORBA.portable.InputStream $in = null;
00208             try {
00209                 org.omg.CORBA.portable.OutputStream $out = _request ("bcCalL1A", true);
00210                 $out.write_ushort (delay);
00211                 $out.write_ushort (delay2);
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                 bcCalL1A (delay, delay2        );
00220             } finally {
00221                 _releaseReply ($in);
00222             }
00223   } // bcCalL1A
00224 
00225   public void bcPulseL1A (short delay, short delay2)
00226   {
00227             org.omg.CORBA.portable.InputStream $in = null;
00228             try {
00229                 org.omg.CORBA.portable.OutputStream $out = _request ("bcPulseL1A", true);
00230                 $out.write_ushort (delay);
00231                 $out.write_ushort (delay2);
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                 bcPulseL1A (delay, delay2        );
00240             } finally {
00241                 _releaseReply ($in);
00242             }
00243   } // bcPulseL1A
00244 
00245   public void setCommIncr (short command, short incr)
00246   {
00247             org.omg.CORBA.portable.InputStream $in = null;
00248             try {
00249                 org.omg.CORBA.portable.OutputStream $out = _request ("setCommIncr", true);
00250                 $out.write_ushort (command);
00251                 $out.write_ushort (incr);
00252                 $in = _invoke ($out);
00253                 return;
00254             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00255                 $in = $ex.getInputStream ();
00256                 String _id = $ex.getId ();
00257                 throw new org.omg.CORBA.MARSHAL (_id);
00258             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00259                 setCommIncr (command, incr        );
00260             } finally {
00261                 _releaseReply ($in);
00262             }
00263   } // setCommIncr
00264 
00265   public void getCommIncr (org.omg.CORBA.ShortHolder command, org.omg.CORBA.ShortHolder incr)
00266   {
00267             org.omg.CORBA.portable.InputStream $in = null;
00268             try {
00269                 org.omg.CORBA.portable.OutputStream $out = _request ("getCommIncr", true);
00270                 $in = _invoke ($out);
00271                 command.value = $in.read_ushort ();
00272                 incr.value = $in.read_ushort ();
00273                 return;
00274             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00275                 $in = $ex.getInputStream ();
00276                 String _id = $ex.getId ();
00277                 throw new org.omg.CORBA.MARSHAL (_id);
00278             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00279                 getCommIncr (command, incr        );
00280             } finally {
00281                 _releaseReply ($in);
00282             }
00283   } // getCommIncr
00284 
00285   public Sct_SctApi.RODTrigger[] getRODTriggers ()
00286   {
00287             org.omg.CORBA.portable.InputStream $in = null;
00288             try {
00289                 org.omg.CORBA.portable.OutputStream $out = _request ("getRODTriggers", true);
00290                 $in = _invoke ($out);
00291                 Sct_SctApi.RODTrigger $result[] = Sct_SctApi.RODTriggersHelper.read ($in);
00292                 return $result;
00293             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00294                 $in = $ex.getInputStream ();
00295                 String _id = $ex.getId ();
00296                 throw new org.omg.CORBA.MARSHAL (_id);
00297             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00298                 return getRODTriggers (        );
00299             } finally {
00300                 _releaseReply ($in);
00301             }
00302   } // getRODTriggers
00303 
00304   public void print ()
00305   {
00306             org.omg.CORBA.portable.InputStream $in = null;
00307             try {
00308                 org.omg.CORBA.portable.OutputStream $out = _request ("print", true);
00309                 $in = _invoke ($out);
00310                 return;
00311             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00312                 $in = $ex.getInputStream ();
00313                 String _id = $ex.getId ();
00314                 throw new org.omg.CORBA.MARSHAL (_id);
00315             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00316                 print (        );
00317             } finally {
00318                 _releaseReply ($in);
00319             }
00320   } // print
00321 
00322   public ipc.servantPackage.info information ()
00323   {
00324             org.omg.CORBA.portable.InputStream $in = null;
00325             try {
00326                 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00327                 $in = _invoke ($out);
00328                 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00329                 return $result;
00330             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00331                 $in = $ex.getInputStream ();
00332                 String _id = $ex.getId ();
00333                 throw new org.omg.CORBA.MARSHAL (_id);
00334             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00335                 return information (        );
00336             } finally {
00337                 _releaseReply ($in);
00338             }
00339   } // information
00340 
00341   public void shutdown ()
00342   {
00343             org.omg.CORBA.portable.InputStream $in = null;
00344             try {
00345                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00346                 $in = _invoke ($out);
00347                 return;
00348             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00349                 $in = $ex.getInputStream ();
00350                 String _id = $ex.getId ();
00351                 throw new org.omg.CORBA.MARSHAL (_id);
00352             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00353                 shutdown (        );
00354             } finally {
00355                 _releaseReply ($in);
00356             }
00357   } // shutdown
00358 
00359   // Type-specific CORBA::Object operations
00360   private static String[] __ids = {
00361     "IDL:Sct_SctApi/Trigger:1.0", 
00362     "IDL:ipc/servant:1.0"};
00363 
00364   public String[] _ids ()
00365   {
00366     return (String[])__ids.clone ();
00367   }
00368 
00369   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00370   {
00371      String str = s.readUTF ();
00372      String[] args = null;
00373      java.util.Properties props = null;
00374      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00375      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00376      _set_delegate (delegate);
00377   }
00378 
00379   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00380   {
00381      String[] args = null;
00382      java.util.Properties props = null;
00383      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00384      s.writeUTF (str);
00385   }
00386 } // class _TriggerStub

Generated on Thu Feb 10 02:44:23 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5