_AnalysisServiceInterfaceStub.java

00001 package AnalysisServiceI;
00002 
00003 
00015 public class _AnalysisServiceInterfaceStub extends org.omg.CORBA.portable.ObjectImpl implements AnalysisServiceI.AnalysisServiceInterface
00016 {
00017 
00018 
00020   public void analyze (String testname)
00021   {
00022             org.omg.CORBA.portable.InputStream $in = null;
00023             try {
00024                 org.omg.CORBA.portable.OutputStream $out = _request ("analyze", false);
00025                 $out.write_string (testname);
00026                 $in = _invoke ($out);
00027                 return;
00028             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00029                 $in = $ex.getInputStream ();
00030                 String _id = $ex.getId ();
00031                 throw new org.omg.CORBA.MARSHAL (_id);
00032             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00033                 analyze (testname        );
00034             } finally {
00035                 _releaseReply ($in);
00036             }
00037   } // analyze
00038 
00039 
00041   public void analyzeModule (String testname, String modulename)
00042   {
00043             org.omg.CORBA.portable.InputStream $in = null;
00044             try {
00045                 org.omg.CORBA.portable.OutputStream $out = _request ("analyzeModule", false);
00046                 $out.write_string (testname);
00047                 $out.write_string (modulename);
00048                 $in = _invoke ($out);
00049                 return;
00050             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00051                 $in = $ex.getInputStream ();
00052                 String _id = $ex.getId ();
00053                 throw new org.omg.CORBA.MARSHAL (_id);
00054             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00055                 analyzeModule (testname, modulename        );
00056             } finally {
00057                 _releaseReply ($in);
00058             }
00059   } // analyzeModule
00060 
00061 
00063   public void purge ()
00064   {
00065             org.omg.CORBA.portable.InputStream $in = null;
00066             try {
00067                 org.omg.CORBA.portable.OutputStream $out = _request ("purge", false);
00068                 $in = _invoke ($out);
00069                 return;
00070             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00071                 $in = $ex.getInputStream ();
00072                 String _id = $ex.getId ();
00073                 throw new org.omg.CORBA.MARSHAL (_id);
00074             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00075                 purge (        );
00076             } finally {
00077                 _releaseReply ($in);
00078             }
00079   } // purge
00080 
00081 
00083   public String status ()
00084   {
00085             org.omg.CORBA.portable.InputStream $in = null;
00086             try {
00087                 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
00088                 $in = _invoke ($out);
00089                 String $result = $in.read_string ();
00090                 return $result;
00091             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00092                 $in = $ex.getInputStream ();
00093                 String _id = $ex.getId ();
00094                 throw new org.omg.CORBA.MARSHAL (_id);
00095             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00096                 return status (        );
00097             } finally {
00098                 _releaseReply ($in);
00099             }
00100   } // status
00101 
00102 
00104   public short busy ()
00105   {
00106             org.omg.CORBA.portable.InputStream $in = null;
00107             try {
00108                 org.omg.CORBA.portable.OutputStream $out = _request ("busy", true);
00109                 $in = _invoke ($out);
00110                 short $result = $in.read_short ();
00111                 return $result;
00112             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00113                 $in = $ex.getInputStream ();
00114                 String _id = $ex.getId ();
00115                 throw new org.omg.CORBA.MARSHAL (_id);
00116             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00117                 return busy (        );
00118             } finally {
00119                 _releaseReply ($in);
00120             }
00121   } // busy
00122 
00123 
00125   public short queueLength ()
00126   {
00127             org.omg.CORBA.portable.InputStream $in = null;
00128             try {
00129                 org.omg.CORBA.portable.OutputStream $out = _request ("queueLength", true);
00130                 $in = _invoke ($out);
00131                 short $result = $in.read_short ();
00132                 return $result;
00133             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00134                 $in = $ex.getInputStream ();
00135                 String _id = $ex.getId ();
00136                 throw new org.omg.CORBA.MARSHAL (_id);
00137             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00138                 return queueLength (        );
00139             } finally {
00140                 _releaseReply ($in);
00141             }
00142   } // queueLength
00143 
00144 
00146   public void setFifo (boolean fifo)
00147   {
00148             org.omg.CORBA.portable.InputStream $in = null;
00149             try {
00150                 org.omg.CORBA.portable.OutputStream $out = _request ("setFifo", true);
00151                 $out.write_boolean (fifo);
00152                 $in = _invoke ($out);
00153                 return;
00154             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00155                 $in = $ex.getInputStream ();
00156                 String _id = $ex.getId ();
00157                 throw new org.omg.CORBA.MARSHAL (_id);
00158             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00159                 setFifo (fifo        );
00160             } finally {
00161                 _releaseReply ($in);
00162             }
00163   } // setFifo
00164 
00165 
00167   public boolean isFifo ()
00168   {
00169             org.omg.CORBA.portable.InputStream $in = null;
00170             try {
00171                 org.omg.CORBA.portable.OutputStream $out = _request ("isFifo", true);
00172                 $in = _invoke ($out);
00173                 boolean $result = $in.read_boolean ();
00174                 return $result;
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                 return isFifo (        );
00181             } finally {
00182                 _releaseReply ($in);
00183             }
00184   } // isFifo
00185 
00186 
00188   public String[] listAlgorithms ()
00189   {
00190             org.omg.CORBA.portable.InputStream $in = null;
00191             try {
00192                 org.omg.CORBA.portable.OutputStream $out = _request ("listAlgorithms", true);
00193                 $in = _invoke ($out);
00194                 String $result[] = AnalysisServiceI.StringListHelper.read ($in);
00195                 return $result;
00196             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00197                 $in = $ex.getInputStream ();
00198                 String _id = $ex.getId ();
00199                 throw new org.omg.CORBA.MARSHAL (_id);
00200             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00201                 return listAlgorithms (        );
00202             } finally {
00203                 _releaseReply ($in);
00204             }
00205   } // listAlgorithms
00206 
00207   public ipc.servantPackage.info information ()
00208   {
00209             org.omg.CORBA.portable.InputStream $in = null;
00210             try {
00211                 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00212                 $in = _invoke ($out);
00213                 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00214                 return $result;
00215             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00216                 $in = $ex.getInputStream ();
00217                 String _id = $ex.getId ();
00218                 throw new org.omg.CORBA.MARSHAL (_id);
00219             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00220                 return information (        );
00221             } finally {
00222                 _releaseReply ($in);
00223             }
00224   } // information
00225 
00226   public void shutdown ()
00227   {
00228             org.omg.CORBA.portable.InputStream $in = null;
00229             try {
00230                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00231                 $in = _invoke ($out);
00232                 return;
00233             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00234                 $in = $ex.getInputStream ();
00235                 String _id = $ex.getId ();
00236                 throw new org.omg.CORBA.MARSHAL (_id);
00237             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00238                 shutdown (        );
00239             } finally {
00240                 _releaseReply ($in);
00241             }
00242   } // shutdown
00243 
00244   // Type-specific CORBA::Object operations
00245   private static String[] __ids = {
00246     "IDL:AnalysisServiceI/AnalysisServiceInterface:1.0", 
00247     "IDL:ipc/servant:1.0"};
00248 
00249   public String[] _ids ()
00250   {
00251     return (String[])__ids.clone ();
00252   }
00253 
00254   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00255   {
00256      String str = s.readUTF ();
00257      String[] args = null;
00258      java.util.Properties props = null;
00259      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00260      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00261      _set_delegate (delegate);
00262   }
00263 
00264   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00265   {
00266      String[] args = null;
00267      java.util.Properties props = null;
00268      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00269      s.writeUTF (str);
00270   }
00271 } // class _AnalysisServiceInterfaceStub

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