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, boolean issueSoftReset)
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                 $out.write_boolean (issueSoftReset);
00140                 $in = _invoke ($out);
00141                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00142                 return $result;
00143             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00144                 $in = $ex.getInputStream ();
00145                 String _id = $ex.getId ();
00146                 throw new org.omg.CORBA.MARSHAL (_id);
00147             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00148                 return rawScan (nTrigs, issueSoftReset        );
00149             } finally {
00150                 _releaseReply ($in);
00151             }
00152   } // rawScan
00153 
00154   public Sct_CalibrationController.ScanRequest defaultScan ()
00155   {
00156             org.omg.CORBA.portable.InputStream $in = null;
00157             try {
00158                 org.omg.CORBA.portable.OutputStream $out = _request ("defaultScan", true);
00159                 $in = _invoke ($out);
00160                 Sct_CalibrationController.ScanRequest $result = Sct_CalibrationController.ScanRequestHelper.read ($in);
00161                 return $result;
00162             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00163                 $in = $ex.getInputStream ();
00164                 String _id = $ex.getId ();
00165                 throw new org.omg.CORBA.MARSHAL (_id);
00166             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00167                 return defaultScan (        );
00168             } finally {
00169                 _releaseReply ($in);
00170             }
00171   } // defaultScan
00172 
00173   // Type-specific CORBA::Object operations
00174   private static String[] __ids = {
00175     "IDL:Sct_CalibrationController/ScanLibrary:1.0"};
00176 
00177   public String[] _ids ()
00178   {
00179     return (String[])__ids.clone ();
00180   }
00181 
00182   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00183   {
00184      String str = s.readUTF ();
00185      String[] args = null;
00186      java.util.Properties props = null;
00187      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00188      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00189      _set_delegate (delegate);
00190   }
00191 
00192   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00193   {
00194      String[] args = null;
00195      java.util.Properties props = null;
00196      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00197      s.writeUTF (str);
00198   }
00199 } // class _ScanLibraryStub

Generated on Fri Jan 14 12:49:50 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5