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

_ScanLibraryStub.java

00001 package Sct_CalibrationController;
00002 
00003 
00011 public class _ScanLibraryStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_CalibrationController.ScanLibrary
00012 {
00013 
00014   public Sct_CalibrationController.ScanRequest thresholdScan (int nTrigs)
00015   {
00016             org.omg.CORBA.portable.InputStream $in = null;
00017             try {
00018                 org.omg.CORBA.portable.OutputStream $out = _request ("thresholdScan", true);
00019                 $out.write_ulong (nTrigs);
00020                 $in = _invoke ($out);
00021                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00022                 return $result;
00023             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00024                 $in = $ex.getInputStream ();
00025                 String _id = $ex.getId ();
00026                 throw new org.omg.CORBA.MARSHAL (_id);
00027             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00028                 return thresholdScan (nTrigs        );
00029             } finally {
00030                 _releaseReply ($in);
00031             }
00032   } // thresholdScan
00033 
00034   public Sct_CalibrationController.ScanRequest thresholdScanfC (int nTrigs, double calCharge)
00035   {
00036             org.omg.CORBA.portable.InputStream $in = null;
00037             try {
00038                 org.omg.CORBA.portable.OutputStream $out = _request ("thresholdScanfC", true);
00039                 $out.write_ulong (nTrigs);
00040                 $out.write_double (calCharge);
00041                 $in = _invoke ($out);
00042                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00043                 return $result;
00044             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00045                 $in = $ex.getInputStream ();
00046                 String _id = $ex.getId ();
00047                 throw new org.omg.CORBA.MARSHAL (_id);
00048             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00049                 return thresholdScanfC (nTrigs, calCharge        );
00050             } finally {
00051                 _releaseReply ($in);
00052             }
00053   } // thresholdScanfC
00054 
00055   public Sct_CalibrationController.ScanRequest noiseOccupancyScan ()
00056   {
00057             org.omg.CORBA.portable.InputStream $in = null;
00058             try {
00059                 org.omg.CORBA.portable.OutputStream $out = _request ("noiseOccupancyScan", true);
00060                 $in = _invoke ($out);
00061                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00062                 return $result;
00063             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00064                 $in = $ex.getInputStream ();
00065                 String _id = $ex.getId ();
00066                 throw new org.omg.CORBA.MARSHAL (_id);
00067             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00068                 return noiseOccupancyScan (        );
00069             } finally {
00070                 _releaseReply ($in);
00071             }
00072   } // noiseOccupancyScan
00073 
00074   public Sct_CalibrationController.ScanRequest strobeDelayScan (int nTrigs)
00075   {
00076             org.omg.CORBA.portable.InputStream $in = null;
00077             try {
00078                 org.omg.CORBA.portable.OutputStream $out = _request ("strobeDelayScan", true);
00079                 $out.write_ulong (nTrigs);
00080                 $in = _invoke ($out);
00081                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00082                 return $result;
00083             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00084                 $in = $ex.getInputStream ();
00085                 String _id = $ex.getId ();
00086                 throw new org.omg.CORBA.MARSHAL (_id);
00087             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00088                 return strobeDelayScan (nTrigs        );
00089             } finally {
00090                 _releaseReply ($in);
00091             }
00092   } // strobeDelayScan
00093 
00094   public Sct_CalibrationController.ScanRequest nmaskScan (int nTrigs)
00095   {
00096             org.omg.CORBA.portable.InputStream $in = null;
00097             try {
00098                 org.omg.CORBA.portable.OutputStream $out = _request ("nmaskScan", true);
00099                 $out.write_ulong (nTrigs);
00100                 $in = _invoke ($out);
00101                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
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 nmaskScan (nTrigs        );
00109             } finally {
00110                 _releaseReply ($in);
00111             }
00112   } // nmaskScan
00113 
00114   public Sct_CalibrationController.ScanRequest tokenScan ()
00115   {
00116             org.omg.CORBA.portable.InputStream $in = null;
00117             try {
00118                 org.omg.CORBA.portable.OutputStream $out = _request ("tokenScan", true);
00119                 $in = _invoke ($out);
00120                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00121                 return $result;
00122             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00123                 $in = $ex.getInputStream ();
00124                 String _id = $ex.getId ();
00125                 throw new org.omg.CORBA.MARSHAL (_id);
00126             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00127                 return tokenScan (        );
00128             } finally {
00129                 _releaseReply ($in);
00130             }
00131   } // tokenScan
00132 
00133   public Sct_CalibrationController.ScanRequest rawScan (int nTrigs)
00134   {
00135             org.omg.CORBA.portable.InputStream $in = null;
00136             try {
00137                 org.omg.CORBA.portable.OutputStream $out = _request ("rawScan", true);
00138                 $out.write_ulong (nTrigs);
00139                 $in = _invoke ($out);
00140                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00141                 return $result;
00142             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00143                 $in = $ex.getInputStream ();
00144                 String _id = $ex.getId ();
00145                 throw new org.omg.CORBA.MARSHAL (_id);
00146             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00147                 return rawScan (nTrigs        );
00148             } finally {
00149                 _releaseReply ($in);
00150             }
00151   } // rawScan
00152 
00153   public Sct_CalibrationController.ScanRequest defaultScan ()
00154   {
00155             org.omg.CORBA.portable.InputStream $in = null;
00156             try {
00157                 org.omg.CORBA.portable.OutputStream $out = _request ("defaultScan", true);
00158                 $in = _invoke ($out);
00159                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00160                 return $result;
00161             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00162                 $in = $ex.getInputStream ();
00163                 String _id = $ex.getId ();
00164                 throw new org.omg.CORBA.MARSHAL (_id);
00165             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00166                 return defaultScan (        );
00167             } finally {
00168                 _releaseReply ($in);
00169             }
00170   } // defaultScan
00171 
00172   // Type-specific CORBA::Object operations
00173   private static String[] __ids = {
00174     "IDL:Sct_CalibrationController/ScanLibrary:1.0"};
00175 
00176   public String[] _ids ()
00177   {
00178     return (String[])__ids.clone ();
00179   }
00180 
00181   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00182   {
00183      String str = s.readUTF ();
00184      String[] args = null;
00185      java.util.Properties props = null;
00186      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00187      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00188      _set_delegate (delegate);
00189   }
00190 
00191   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00192   {
00193      String[] args = null;
00194      java.util.Properties props = null;
00195      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00196      s.writeUTF (str);
00197   }
00198 } // class _ScanLibraryStub

Generated on Thu Jul 15 09:55:37 2004 for SCT DAQ/DCS Software - Java by doxygen 1.3.5