00001 package SctTestApi;
00002
00003
00017 public class _HighLevelApiStub extends org.omg.CORBA.portable.ObjectImpl implements SctTestApi.HighLevelApi
00018 {
00019
00020
00022 public void setDataFile (String file) throws SctTestApi.NoSuchFileException
00023 {
00024 org.omg.CORBA.portable.InputStream $in = null;
00025 try {
00026 org.omg.CORBA.portable.OutputStream $out = _request ("setDataFile", true);
00027 $out.write_string (file);
00028 $in = _invoke ($out);
00029 return;
00030 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00031 $in = $ex.getInputStream ();
00032 String _id = $ex.getId ();
00033 if (_id.equals ("IDL:SctTestApi/NoSuchFileException:1.0"))
00034 throw SctTestApi.NoSuchFileExceptionHelper.read ($in);
00035 else
00036 throw new org.omg.CORBA.MARSHAL (_id);
00037 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00038 setDataFile (file );
00039 } finally {
00040 _releaseReply ($in);
00041 }
00042 }
00043
00044
00046 public String getDataFile ()
00047 {
00048 org.omg.CORBA.portable.InputStream $in = null;
00049 try {
00050 org.omg.CORBA.portable.OutputStream $out = _request ("getDataFile", true);
00051 $in = _invoke ($out);
00052 String $result = $in.read_string ();
00053 return $result;
00054 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00055 $in = $ex.getInputStream ();
00056 String _id = $ex.getId ();
00057 throw new org.omg.CORBA.MARSHAL (_id);
00058 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00059 return getDataFile ( );
00060 } finally {
00061 _releaseReply ($in);
00062 }
00063 }
00064
00065
00067 public void setXmlSummaryFile (String file) throws SctTestApi.NoSuchFileException
00068 {
00069 org.omg.CORBA.portable.InputStream $in = null;
00070 try {
00071 org.omg.CORBA.portable.OutputStream $out = _request ("setXmlSummaryFile", true);
00072 $out.write_string (file);
00073 $in = _invoke ($out);
00074 return;
00075 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00076 $in = $ex.getInputStream ();
00077 String _id = $ex.getId ();
00078 if (_id.equals ("IDL:SctTestApi/NoSuchFileException:1.0"))
00079 throw SctTestApi.NoSuchFileExceptionHelper.read ($in);
00080 else
00081 throw new org.omg.CORBA.MARSHAL (_id);
00082 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00083 setXmlSummaryFile (file );
00084 } finally {
00085 _releaseReply ($in);
00086 }
00087 }
00088
00089
00091 public String getXmlSummaryFile ()
00092 {
00093 org.omg.CORBA.portable.InputStream $in = null;
00094 try {
00095 org.omg.CORBA.portable.OutputStream $out = _request ("getXmlSummaryFile", true);
00096 $in = _invoke ($out);
00097 String $result = $in.read_string ();
00098 return $result;
00099 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00100 $in = $ex.getInputStream ();
00101 String _id = $ex.getId ();
00102 throw new org.omg.CORBA.MARSHAL (_id);
00103 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00104 return getXmlSummaryFile ( );
00105 } finally {
00106 _releaseReply ($in);
00107 }
00108 }
00109
00110
00114 public void setModuleSerial (String serial) throws SctTestApi.NoSuchModuleException
00115 {
00116 org.omg.CORBA.portable.InputStream $in = null;
00117 try {
00118 org.omg.CORBA.portable.OutputStream $out = _request ("setModuleSerial", true);
00119 $out.write_string (serial);
00120 $in = _invoke ($out);
00121 return;
00122 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00123 $in = $ex.getInputStream ();
00124 String _id = $ex.getId ();
00125 if (_id.equals ("IDL:SctTestApi/NoSuchModuleException:1.0"))
00126 throw SctTestApi.NoSuchModuleExceptionHelper.read ($in);
00127 else
00128 throw new org.omg.CORBA.MARSHAL (_id);
00129 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00130 setModuleSerial (serial );
00131 } finally {
00132 _releaseReply ($in);
00133 }
00134 }
00135
00136
00138 public String getModuleSerial ()
00139 {
00140 org.omg.CORBA.portable.InputStream $in = null;
00141 try {
00142 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleSerial", true);
00143 $in = _invoke ($out);
00144 String $result = $in.read_string ();
00145 return $result;
00146 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00147 $in = $ex.getInputStream ();
00148 String _id = $ex.getId ();
00149 throw new org.omg.CORBA.MARSHAL (_id);
00150 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00151 return getModuleSerial ( );
00152 } finally {
00153 _releaseReply ($in);
00154 }
00155 }
00156
00157 public void fullBypass () throws SctTestApi.NoDataException
00158 {
00159 org.omg.CORBA.portable.InputStream $in = null;
00160 try {
00161 org.omg.CORBA.portable.OutputStream $out = _request ("fullBypass", true);
00162 $in = _invoke ($out);
00163 return;
00164 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00165 $in = $ex.getInputStream ();
00166 String _id = $ex.getId ();
00167 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00168 throw SctTestApi.NoDataExceptionHelper.read ($in);
00169 else
00170 throw new org.omg.CORBA.MARSHAL (_id);
00171 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00172 fullBypass ( );
00173 } finally {
00174 _releaseReply ($in);
00175 }
00176 }
00177
00178 public void timeWalk () throws SctTestApi.NoDataException
00179 {
00180 org.omg.CORBA.portable.InputStream $in = null;
00181 try {
00182 org.omg.CORBA.portable.OutputStream $out = _request ("timeWalk", true);
00183 $in = _invoke ($out);
00184 return;
00185 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00186 $in = $ex.getInputStream ();
00187 String _id = $ex.getId ();
00188 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00189 throw SctTestApi.NoDataExceptionHelper.read ($in);
00190 else
00191 throw new org.omg.CORBA.MARSHAL (_id);
00192 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00193 timeWalk ( );
00194 } finally {
00195 _releaseReply ($in);
00196 }
00197 }
00198
00199 public void strobeDelay () throws SctTestApi.NoDataException
00200 {
00201 org.omg.CORBA.portable.InputStream $in = null;
00202 try {
00203 org.omg.CORBA.portable.OutputStream $out = _request ("strobeDelay", true);
00204 $in = _invoke ($out);
00205 return;
00206 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00207 $in = $ex.getInputStream ();
00208 String _id = $ex.getId ();
00209 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00210 throw SctTestApi.NoDataExceptionHelper.read ($in);
00211 else
00212 throw new org.omg.CORBA.MARSHAL (_id);
00213 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00214 strobeDelay ( );
00215 } finally {
00216 _releaseReply ($in);
00217 }
00218 }
00219
00220 public void threePointGain () throws SctTestApi.NoDataException
00221 {
00222 org.omg.CORBA.portable.InputStream $in = null;
00223 try {
00224 org.omg.CORBA.portable.OutputStream $out = _request ("threePointGain", true);
00225 $in = _invoke ($out);
00226 return;
00227 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00228 $in = $ex.getInputStream ();
00229 String _id = $ex.getId ();
00230 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00231 throw SctTestApi.NoDataExceptionHelper.read ($in);
00232 else
00233 throw new org.omg.CORBA.MARSHAL (_id);
00234 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00235 threePointGain ( );
00236 } finally {
00237 _releaseReply ($in);
00238 }
00239 }
00240
00241 public void responseCurve () throws SctTestApi.NoDataException
00242 {
00243 org.omg.CORBA.portable.InputStream $in = null;
00244 try {
00245 org.omg.CORBA.portable.OutputStream $out = _request ("responseCurve", true);
00246 $in = _invoke ($out);
00247 return;
00248 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00249 $in = $ex.getInputStream ();
00250 String _id = $ex.getId ();
00251 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00252 throw SctTestApi.NoDataExceptionHelper.read ($in);
00253 else
00254 throw new org.omg.CORBA.MARSHAL (_id);
00255 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00256 responseCurve ( );
00257 } finally {
00258 _releaseReply ($in);
00259 }
00260 }
00261
00262 public void noiseOccupancy () throws SctTestApi.NoDataException
00263 {
00264 org.omg.CORBA.portable.InputStream $in = null;
00265 try {
00266 org.omg.CORBA.portable.OutputStream $out = _request ("noiseOccupancy", true);
00267 $in = _invoke ($out);
00268 return;
00269 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00270 $in = $ex.getInputStream ();
00271 String _id = $ex.getId ();
00272 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00273 throw SctTestApi.NoDataExceptionHelper.read ($in);
00274 else
00275 throw new org.omg.CORBA.MARSHAL (_id);
00276 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00277 noiseOccupancy ( );
00278 } finally {
00279 _releaseReply ($in);
00280 }
00281 }
00282
00283 public void trim () throws SctTestApi.NoDataException
00284 {
00285 org.omg.CORBA.portable.InputStream $in = null;
00286 try {
00287 org.omg.CORBA.portable.OutputStream $out = _request ("trim", true);
00288 $in = _invoke ($out);
00289 return;
00290 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00291 $in = $ex.getInputStream ();
00292 String _id = $ex.getId ();
00293 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00294 throw SctTestApi.NoDataExceptionHelper.read ($in);
00295 else
00296 throw new org.omg.CORBA.MARSHAL (_id);
00297 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00298 trim ( );
00299 } finally {
00300 _releaseReply ($in);
00301 }
00302 }
00303
00304 public void pipeline () throws SctTestApi.NoDataException
00305 {
00306 org.omg.CORBA.portable.InputStream $in = null;
00307 try {
00308 org.omg.CORBA.portable.OutputStream $out = _request ("pipeline", true);
00309 $in = _invoke ($out);
00310 return;
00311 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00312 $in = $ex.getInputStream ();
00313 String _id = $ex.getId ();
00314 if (_id.equals ("IDL:SctTestApi/NoDataException:1.0"))
00315 throw SctTestApi.NoDataExceptionHelper.read ($in);
00316 else
00317 throw new org.omg.CORBA.MARSHAL (_id);
00318 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00319 pipeline ( );
00320 } finally {
00321 _releaseReply ($in);
00322 }
00323 }
00324
00325 public void get_info (ipc.InfoHolder inf)
00326 {
00327 org.omg.CORBA.portable.InputStream $in = null;
00328 try {
00329 org.omg.CORBA.portable.OutputStream $out = _request ("get_info", true);
00330 $in = _invoke ($out);
00331 inf.value = ipc.InfoHelper.read ($in);
00332 return;
00333 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00334 $in = $ex.getInputStream ();
00335 String _id = $ex.getId ();
00336 throw new org.omg.CORBA.MARSHAL (_id);
00337 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00338 get_info (inf );
00339 } finally {
00340 _releaseReply ($in);
00341 }
00342 }
00343
00344 public void destroy ()
00345 {
00346 org.omg.CORBA.portable.InputStream $in = null;
00347 try {
00348 org.omg.CORBA.portable.OutputStream $out = _request ("destroy", false);
00349 $in = _invoke ($out);
00350 return;
00351 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00352 $in = $ex.getInputStream ();
00353 String _id = $ex.getId ();
00354 throw new org.omg.CORBA.MARSHAL (_id);
00355 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00356 destroy ( );
00357 } finally {
00358 _releaseReply ($in);
00359 }
00360 }
00361
00362
00363 private static String[] __ids = {
00364 "IDL:SctTestApi/HighLevelApi:1.0",
00365 "IDL:ipc/freeable:1.0"};
00366
00367 public String[] _ids ()
00368 {
00369 return (String[])__ids.clone ();
00370 }
00371
00372 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00373 {
00374 String str = s.readUTF ();
00375 String[] args = null;
00376 java.util.Properties props = null;
00377 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00378 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00379 _set_delegate (delegate);
00380 }
00381
00382 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00383 {
00384 String[] args = null;
00385 java.util.Properties props = null;
00386 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00387 s.writeUTF (str);
00388 }
00389 }