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 getScanCorba ()
00019 {
00020 org.omg.CORBA.portable.InputStream $in = null;
00021 try {
00022 org.omg.CORBA.portable.OutputStream $out = _request ("getScanCorba", 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 getScanCorba ( );
00032 } finally {
00033 _releaseReply ($in);
00034 }
00035 }
00036
00037
00039 public void setScanCorba (Sct_SctApi.Scan scan)
00040 {
00041 org.omg.CORBA.portable.InputStream $in = null;
00042 try {
00043 org.omg.CORBA.portable.OutputStream $out = _request ("setScanCorba", 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 setScanCorba (scan );
00053 } finally {
00054 _releaseReply ($in);
00055 }
00056 }
00057
00058
00060 public void setConfigureModulesCorba (boolean value)
00061 {
00062 org.omg.CORBA.portable.InputStream $in = null;
00063 try {
00064 org.omg.CORBA.portable.OutputStream $out = _request ("setConfigureModulesCorba", true);
00065 $out.write_boolean (value);
00066 $in = _invoke ($out);
00067 return;
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 setConfigureModulesCorba (value );
00074 } finally {
00075 _releaseReply ($in);
00076 }
00077 }
00078
00079
00081 public boolean configureModulesCorba ()
00082 {
00083 org.omg.CORBA.portable.InputStream $in = null;
00084 try {
00085 org.omg.CORBA.portable.OutputStream $out = _request ("configureModulesCorba", 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 configureModulesCorba ( );
00095 } finally {
00096 _releaseReply ($in);
00097 }
00098 }
00099
00100
00102 public boolean clockByTwoCorba ()
00103 {
00104 org.omg.CORBA.portable.InputStream $in = null;
00105 try {
00106 org.omg.CORBA.portable.OutputStream $out = _request ("clockByTwoCorba", true);
00107 $in = _invoke ($out);
00108 boolean $result = $in.read_boolean ();
00109 return $result;
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 return clockByTwoCorba ( );
00116 } finally {
00117 _releaseReply ($in);
00118 }
00119 }
00120
00121
00123 public void setClockByTwoCorba (boolean value)
00124 {
00125 org.omg.CORBA.portable.InputStream $in = null;
00126 try {
00127 org.omg.CORBA.portable.OutputStream $out = _request ("setClockByTwoCorba", true);
00128 $out.write_boolean (value);
00129 $in = _invoke ($out);
00130 return;
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 setClockByTwoCorba (value );
00137 } finally {
00138 _releaseReply ($in);
00139 }
00140 }
00141
00142
00144 public boolean isRawCorba ()
00145 {
00146 org.omg.CORBA.portable.InputStream $in = null;
00147 try {
00148 org.omg.CORBA.portable.OutputStream $out = _request ("isRawCorba", true);
00149 $in = _invoke ($out);
00150 boolean $result = $in.read_boolean ();
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 isRawCorba ( );
00158 } finally {
00159 _releaseReply ($in);
00160 }
00161 }
00162
00163
00165 public int delayCorba ()
00166 {
00167 org.omg.CORBA.portable.InputStream $in = null;
00168 try {
00169 org.omg.CORBA.portable.OutputStream $out = _request ("delayCorba", true);
00170 $in = _invoke ($out);
00171 int $result = $in.read_long ();
00172 return $result;
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 return delayCorba ( );
00179 } finally {
00180 _releaseReply ($in);
00181 }
00182 }
00183
00184
00186 public void setWidthCorba (int value)
00187 {
00188 org.omg.CORBA.portable.InputStream $in = null;
00189 try {
00190 org.omg.CORBA.portable.OutputStream $out = _request ("setWidthCorba", true);
00191 $out.write_long (value);
00192 $in = _invoke ($out);
00193 return;
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 setWidthCorba (value );
00200 } finally {
00201 _releaseReply ($in);
00202 }
00203 }
00204
00205
00207 public int widthCorba ()
00208 {
00209 org.omg.CORBA.portable.InputStream $in = null;
00210 try {
00211 org.omg.CORBA.portable.OutputStream $out = _request ("widthCorba", true);
00212 $in = _invoke ($out);
00213 int $result = $in.read_long ();
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 widthCorba ( );
00221 } finally {
00222 _releaseReply ($in);
00223 }
00224 }
00225
00226
00227 private static String[] __ids = {
00228 "IDL:Sct_CalibrationController/ScanRequest:1.0"};
00229
00230 public String[] _ids ()
00231 {
00232 return (String[])__ids.clone ();
00233 }
00234
00235 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00236 {
00237 String str = s.readUTF ();
00238 String[] args = null;
00239 java.util.Properties props = null;
00240 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00241 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00242 _set_delegate (delegate);
00243 }
00244
00245 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00246 {
00247 String[] args = null;
00248 java.util.Properties props = null;
00249 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00250 s.writeUTF (str);
00251 }
00252 }