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

_ScanRequestStub.java

00001 package Sct_CalibrationController;
00002 
00003 
00013 public class _ScanRequestStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_CalibrationController.ScanRequest
00014 {
00015 
00016 
00018   public Sct_SctApi.Scan getScan ()
00019   {
00020             org.omg.CORBA.portable.InputStream $in = null;
00021             try {
00022                 org.omg.CORBA.portable.OutputStream $out = _request ("getScan", true);
00023                 $in = _invoke ($out);
00024                 Sct_SctApi.Scan $result = Sct_SctApi.ScanHelper.read ($in);
00025                 return $result;
00026             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00027                 $in = $ex.getInputStream ();
00028                 String _id = $ex.getId ();
00029                 throw new org.omg.CORBA.MARSHAL (_id);
00030             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00031                 return getScan (        );
00032             } finally {
00033                 _releaseReply ($in);
00034             }
00035   } // getScan
00036 
00037 
00039   public void setScan (Sct_SctApi.Scan scan)
00040   {
00041             org.omg.CORBA.portable.InputStream $in = null;
00042             try {
00043                 org.omg.CORBA.portable.OutputStream $out = _request ("setScan", true);
00044                 Sct_SctApi.ScanHelper.write ($out, scan);
00045                 $in = _invoke ($out);
00046                 return;
00047             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00048                 $in = $ex.getInputStream ();
00049                 String _id = $ex.getId ();
00050                 throw new org.omg.CORBA.MARSHAL (_id);
00051             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00052                 setScan (scan        );
00053             } finally {
00054                 _releaseReply ($in);
00055             }
00056   } // setScan
00057 
00058 
00060   public boolean configureModules ()
00061   {
00062             org.omg.CORBA.portable.InputStream $in = null;
00063             try {
00064                 org.omg.CORBA.portable.OutputStream $out = _request ("configureModules", true);
00065                 $in = _invoke ($out);
00066                 boolean $result = $in.read_boolean ();
00067                 return $result;
00068             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00069                 $in = $ex.getInputStream ();
00070                 String _id = $ex.getId ();
00071                 throw new org.omg.CORBA.MARSHAL (_id);
00072             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00073                 return configureModules (        );
00074             } finally {
00075                 _releaseReply ($in);
00076             }
00077   } // configureModules
00078 
00079 
00081   public boolean clockByTwo ()
00082   {
00083             org.omg.CORBA.portable.InputStream $in = null;
00084             try {
00085                 org.omg.CORBA.portable.OutputStream $out = _request ("clockByTwo", true);
00086                 $in = _invoke ($out);
00087                 boolean $result = $in.read_boolean ();
00088                 return $result;
00089             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00090                 $in = $ex.getInputStream ();
00091                 String _id = $ex.getId ();
00092                 throw new org.omg.CORBA.MARSHAL (_id);
00093             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00094                 return clockByTwo (        );
00095             } finally {
00096                 _releaseReply ($in);
00097             }
00098   } // clockByTwo
00099 
00100 
00102   public void setClockByTwo (boolean value)
00103   {
00104             org.omg.CORBA.portable.InputStream $in = null;
00105             try {
00106                 org.omg.CORBA.portable.OutputStream $out = _request ("setClockByTwo", true);
00107                 $out.write_boolean (value);
00108                 $in = _invoke ($out);
00109                 return;
00110             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00111                 $in = $ex.getInputStream ();
00112                 String _id = $ex.getId ();
00113                 throw new org.omg.CORBA.MARSHAL (_id);
00114             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00115                 setClockByTwo (value        );
00116             } finally {
00117                 _releaseReply ($in);
00118             }
00119   } // setClockByTwo
00120 
00121 
00123   public boolean isRaw ()
00124   {
00125             org.omg.CORBA.portable.InputStream $in = null;
00126             try {
00127                 org.omg.CORBA.portable.OutputStream $out = _request ("isRaw", true);
00128                 $in = _invoke ($out);
00129                 boolean $result = $in.read_boolean ();
00130                 return $result;
00131             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00132                 $in = $ex.getInputStream ();
00133                 String _id = $ex.getId ();
00134                 throw new org.omg.CORBA.MARSHAL (_id);
00135             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00136                 return isRaw (        );
00137             } finally {
00138                 _releaseReply ($in);
00139             }
00140   } // isRaw
00141 
00142 
00144   public int delay ()
00145   {
00146             org.omg.CORBA.portable.InputStream $in = null;
00147             try {
00148                 org.omg.CORBA.portable.OutputStream $out = _request ("delay", true);
00149                 $in = _invoke ($out);
00150                 int $result = $in.read_long ();
00151                 return $result;
00152             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00153                 $in = $ex.getInputStream ();
00154                 String _id = $ex.getId ();
00155                 throw new org.omg.CORBA.MARSHAL (_id);
00156             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00157                 return delay (        );
00158             } finally {
00159                 _releaseReply ($in);
00160             }
00161   } // delay
00162 
00163 
00165   public void setWidth (int value)
00166   {
00167             org.omg.CORBA.portable.InputStream $in = null;
00168             try {
00169                 org.omg.CORBA.portable.OutputStream $out = _request ("setWidth", true);
00170                 $out.write_long (value);
00171                 $in = _invoke ($out);
00172                 return;
00173             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00174                 $in = $ex.getInputStream ();
00175                 String _id = $ex.getId ();
00176                 throw new org.omg.CORBA.MARSHAL (_id);
00177             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00178                 setWidth (value        );
00179             } finally {
00180                 _releaseReply ($in);
00181             }
00182   } // setWidth
00183 
00184 
00186   public int width ()
00187   {
00188             org.omg.CORBA.portable.InputStream $in = null;
00189             try {
00190                 org.omg.CORBA.portable.OutputStream $out = _request ("width", true);
00191                 $in = _invoke ($out);
00192                 int $result = $in.read_long ();
00193                 return $result;
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                 return width (        );
00200             } finally {
00201                 _releaseReply ($in);
00202             }
00203   } // width
00204 
00205   // Type-specific CORBA::Object operations
00206   private static String[] __ids = {
00207     "IDL:Sct_CalibrationController/ScanRequest:1.0"};
00208 
00209   public String[] _ids ()
00210   {
00211     return (String[])__ids.clone ();
00212   }
00213 
00214   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00215   {
00216      String str = s.readUTF ();
00217      String[] args = null;
00218      java.util.Properties props = null;
00219      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00220      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00221      _set_delegate (delegate);
00222   }
00223 
00224   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00225   {
00226      String[] args = null;
00227      java.util.Properties props = null;
00228      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00229      s.writeUTF (str);
00230   }
00231 } // class _ScanRequestStub

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