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