_FitterInterfaceStub.java

00001 package FitterI;
00002 
00003 
00013 public class _FitterInterfaceStub extends org.omg.CORBA.portable.ObjectImpl implements FitterI.FitterInterface
00014 {
00015 
00016 
00020   public String status ()
00021   {
00022             org.omg.CORBA.portable.InputStream $in = null;
00023             try {
00024                 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
00025                 $in = _invoke ($out);
00026                 String $result = $in.read_string ();
00027                 return $result;
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                 return status (        );
00034             } finally {
00035                 _releaseReply ($in);
00036             }
00037   } // status
00038 
00039 
00041   public String lastScan ()
00042   {
00043             org.omg.CORBA.portable.InputStream $in = null;
00044             try {
00045                 org.omg.CORBA.portable.OutputStream $out = _request ("lastScan", true);
00046                 $in = _invoke ($out);
00047                 String $result = $in.read_string ();
00048                 return $result;
00049             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00050                 $in = $ex.getInputStream ();
00051                 String _id = $ex.getId ();
00052                 throw new org.omg.CORBA.MARSHAL (_id);
00053             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00054                 return lastScan (        );
00055             } finally {
00056                 _releaseReply ($in);
00057             }
00058   } // lastScan
00059 
00060 
00062   public String getFitOptions ()
00063   {
00064             org.omg.CORBA.portable.InputStream $in = null;
00065             try {
00066                 org.omg.CORBA.portable.OutputStream $out = _request ("getFitOptions", true);
00067                 $in = _invoke ($out);
00068                 String $result = $in.read_string ();
00069                 return $result;
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                 return getFitOptions (        );
00076             } finally {
00077                 _releaseReply ($in);
00078             }
00079   } // getFitOptions
00080 
00081 
00083   public String getFitStrategy ()
00084   {
00085             org.omg.CORBA.portable.InputStream $in = null;
00086             try {
00087                 org.omg.CORBA.portable.OutputStream $out = _request ("getFitStrategy", 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 getFitStrategy (        );
00097             } finally {
00098                 _releaseReply ($in);
00099             }
00100   } // getFitStrategy
00101 
00102 
00104   public void setFitOptions (String opt)
00105   {
00106             org.omg.CORBA.portable.InputStream $in = null;
00107             try {
00108                 org.omg.CORBA.portable.OutputStream $out = _request ("setFitOptions", false);
00109                 $out.write_string (opt);
00110                 $in = _invoke ($out);
00111                 return;
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                 setFitOptions (opt        );
00118             } finally {
00119                 _releaseReply ($in);
00120             }
00121   } // setFitOptions
00122 
00123 
00125   public void setFitStrategy (String name)
00126   {
00127             org.omg.CORBA.portable.InputStream $in = null;
00128             try {
00129                 org.omg.CORBA.portable.OutputStream $out = _request ("setFitStrategy", false);
00130                 $out.write_string (name);
00131                 $in = _invoke ($out);
00132                 return;
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                 setFitStrategy (name        );
00139             } finally {
00140                 _releaseReply ($in);
00141             }
00142   } // setFitStrategy
00143 
00144 
00146   public void fitAll ()
00147   {
00148             org.omg.CORBA.portable.InputStream $in = null;
00149             try {
00150                 org.omg.CORBA.portable.OutputStream $out = _request ("fitAll", false);
00151                 $in = _invoke ($out);
00152                 return;
00153             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00154                 $in = $ex.getInputStream ();
00155                 String _id = $ex.getId ();
00156                 throw new org.omg.CORBA.MARSHAL (_id);
00157             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00158                 fitAll (        );
00159             } finally {
00160                 _releaseReply ($in);
00161             }
00162   } // fitAll
00163 
00164 
00167   public void fit (String name)
00168   {
00169             org.omg.CORBA.portable.InputStream $in = null;
00170             try {
00171                 org.omg.CORBA.portable.OutputStream $out = _request ("fit", false);
00172                 $out.write_string (name);
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                 fit (name        );
00181             } finally {
00182                 _releaseReply ($in);
00183             }
00184   } // fit
00185 
00186 
00188   public int busy ()
00189   {
00190             org.omg.CORBA.portable.InputStream $in = null;
00191             try {
00192                 org.omg.CORBA.portable.OutputStream $out = _request ("busy", true);
00193                 $in = _invoke ($out);
00194                 int $result = $in.read_long ();
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 busy (        );
00202             } finally {
00203                 _releaseReply ($in);
00204             }
00205   } // busy
00206 
00207 
00209   public int queueLength ()
00210   {
00211             org.omg.CORBA.portable.InputStream $in = null;
00212             try {
00213                 org.omg.CORBA.portable.OutputStream $out = _request ("queueLength", true);
00214                 $in = _invoke ($out);
00215                 int $result = $in.read_long ();
00216                 return $result;
00217             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00218                 $in = $ex.getInputStream ();
00219                 String _id = $ex.getId ();
00220                 throw new org.omg.CORBA.MARSHAL (_id);
00221             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00222                 return queueLength (        );
00223             } finally {
00224                 _releaseReply ($in);
00225             }
00226   } // queueLength
00227 
00228 
00230   public int nFitsDone ()
00231   {
00232             org.omg.CORBA.portable.InputStream $in = null;
00233             try {
00234                 org.omg.CORBA.portable.OutputStream $out = _request ("nFitsDone", true);
00235                 $in = _invoke ($out);
00236                 int $result = $in.read_long ();
00237                 return $result;
00238             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00239                 $in = $ex.getInputStream ();
00240                 String _id = $ex.getId ();
00241                 throw new org.omg.CORBA.MARSHAL (_id);
00242             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00243                 return nFitsDone (        );
00244             } finally {
00245                 _releaseReply ($in);
00246             }
00247   } // nFitsDone
00248 
00249 
00251   public int nFitErrors ()
00252   {
00253             org.omg.CORBA.portable.InputStream $in = null;
00254             try {
00255                 org.omg.CORBA.portable.OutputStream $out = _request ("nFitErrors", true);
00256                 $in = _invoke ($out);
00257                 int $result = $in.read_long ();
00258                 return $result;
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                 return nFitErrors (        );
00265             } finally {
00266                 _releaseReply ($in);
00267             }
00268   } // nFitErrors
00269 
00270 
00272   public void setFifo (boolean fifo)
00273   {
00274             org.omg.CORBA.portable.InputStream $in = null;
00275             try {
00276                 org.omg.CORBA.portable.OutputStream $out = _request ("setFifo", true);
00277                 $out.write_boolean (fifo);
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                 setFifo (fifo        );
00286             } finally {
00287                 _releaseReply ($in);
00288             }
00289   } // setFifo
00290 
00291 
00293   public boolean isFifo ()
00294   {
00295             org.omg.CORBA.portable.InputStream $in = null;
00296             try {
00297                 org.omg.CORBA.portable.OutputStream $out = _request ("isFifo", true);
00298                 $in = _invoke ($out);
00299                 boolean $result = $in.read_boolean ();
00300                 return $result;
00301             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00302                 $in = $ex.getInputStream ();
00303                 String _id = $ex.getId ();
00304                 throw new org.omg.CORBA.MARSHAL (_id);
00305             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00306                 return isFifo (        );
00307             } finally {
00308                 _releaseReply ($in);
00309             }
00310   } // isFifo
00311 
00312 
00314   public String[] listFitAlgorithms ()
00315   {
00316             org.omg.CORBA.portable.InputStream $in = null;
00317             try {
00318                 org.omg.CORBA.portable.OutputStream $out = _request ("listFitAlgorithms", true);
00319                 $in = _invoke ($out);
00320                 String $result[] = FitterI.StringListHelper.read ($in);
00321                 return $result;
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                 return listFitAlgorithms (        );
00328             } finally {
00329                 _releaseReply ($in);
00330             }
00331   } // listFitAlgorithms
00332 
00333 
00335   public String[] listFitStrategies ()
00336   {
00337             org.omg.CORBA.portable.InputStream $in = null;
00338             try {
00339                 org.omg.CORBA.portable.OutputStream $out = _request ("listFitStrategies", true);
00340                 $in = _invoke ($out);
00341                 String $result[] = FitterI.StringListHelper.read ($in);
00342                 return $result;
00343             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00344                 $in = $ex.getInputStream ();
00345                 String _id = $ex.getId ();
00346                 throw new org.omg.CORBA.MARSHAL (_id);
00347             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00348                 return listFitStrategies (        );
00349             } finally {
00350                 _releaseReply ($in);
00351             }
00352   } // listFitStrategies
00353 
00354 
00356   public void setDebug (boolean value)
00357   {
00358             org.omg.CORBA.portable.InputStream $in = null;
00359             try {
00360                 org.omg.CORBA.portable.OutputStream $out = _request ("setDebug", true);
00361                 $out.write_boolean (value);
00362                 $in = _invoke ($out);
00363                 return;
00364             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00365                 $in = $ex.getInputStream ();
00366                 String _id = $ex.getId ();
00367                 throw new org.omg.CORBA.MARSHAL (_id);
00368             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00369                 setDebug (value        );
00370             } finally {
00371                 _releaseReply ($in);
00372             }
00373   } // setDebug
00374 
00375   public ipc.servantPackage.info information ()
00376   {
00377             org.omg.CORBA.portable.InputStream $in = null;
00378             try {
00379                 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00380                 $in = _invoke ($out);
00381                 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00382                 return $result;
00383             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00384                 $in = $ex.getInputStream ();
00385                 String _id = $ex.getId ();
00386                 throw new org.omg.CORBA.MARSHAL (_id);
00387             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00388                 return information (        );
00389             } finally {
00390                 _releaseReply ($in);
00391             }
00392   } // information
00393 
00394   public void shutdown ()
00395   {
00396             org.omg.CORBA.portable.InputStream $in = null;
00397             try {
00398                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
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                 shutdown (        );
00407             } finally {
00408                 _releaseReply ($in);
00409             }
00410   } // shutdown
00411 
00412   // Type-specific CORBA::Object operations
00413   private static String[] __ids = {
00414     "IDL:FitterI/FitterInterface:1.0", 
00415     "IDL:ipc/servant:1.0"};
00416 
00417   public String[] _ids ()
00418   {
00419     return (String[])__ids.clone ();
00420   }
00421 
00422   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00423   {
00424      String str = s.readUTF ();
00425      String[] args = null;
00426      java.util.Properties props = null;
00427      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00428      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00429      _set_delegate (delegate);
00430   }
00431 
00432   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00433   {
00434      String[] args = null;
00435      java.util.Properties props = null;
00436      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00437      s.writeUTF (str);
00438   }
00439 } // class _FitterInterfaceStub

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