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
00074
00075 public String getFitStrategy ()
00076 {
00077 org.omg.CORBA.portable.InputStream $in = null;
00078 try {
00079 org.omg.CORBA.portable.OutputStream $out = _request ("getFitStrategy", true);
00080 $in = _invoke ($out);
00081 String $result = $in.read_string ();
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 getFitStrategy ( );
00089 } finally {
00090 _releaseReply ($in);
00091 }
00092 }
00093
00094 public void setFitOptions (String opt)
00095 {
00096 org.omg.CORBA.portable.InputStream $in = null;
00097 try {
00098 org.omg.CORBA.portable.OutputStream $out = _request ("setFitOptions", false);
00099 $out.write_string (opt);
00100 $in = _invoke ($out);
00101 return;
00102 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00103 $in = $ex.getInputStream ();
00104 String _id = $ex.getId ();
00105 throw new org.omg.CORBA.MARSHAL (_id);
00106 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00107 setFitOptions (opt );
00108 } finally {
00109 _releaseReply ($in);
00110 }
00111 }
00112
00113 public void setFitStrategy (String name)
00114 {
00115 org.omg.CORBA.portable.InputStream $in = null;
00116 try {
00117 org.omg.CORBA.portable.OutputStream $out = _request ("setFitStrategy", false);
00118 $out.write_string (name);
00119 $in = _invoke ($out);
00120 return;
00121 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00122 $in = $ex.getInputStream ();
00123 String _id = $ex.getId ();
00124 throw new org.omg.CORBA.MARSHAL (_id);
00125 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00126 setFitStrategy (name );
00127 } finally {
00128 _releaseReply ($in);
00129 }
00130 }
00131
00132 public void fitAll ()
00133 {
00134 org.omg.CORBA.portable.InputStream $in = null;
00135 try {
00136 org.omg.CORBA.portable.OutputStream $out = _request ("fitAll", false);
00137 $in = _invoke ($out);
00138 return;
00139 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00140 $in = $ex.getInputStream ();
00141 String _id = $ex.getId ();
00142 throw new org.omg.CORBA.MARSHAL (_id);
00143 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00144 fitAll ( );
00145 } finally {
00146 _releaseReply ($in);
00147 }
00148 }
00149
00150 public void fit (String name)
00151 {
00152 org.omg.CORBA.portable.InputStream $in = null;
00153 try {
00154 org.omg.CORBA.portable.OutputStream $out = _request ("fit", false);
00155 $out.write_string (name);
00156 $in = _invoke ($out);
00157 return;
00158 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00159 $in = $ex.getInputStream ();
00160 String _id = $ex.getId ();
00161 throw new org.omg.CORBA.MARSHAL (_id);
00162 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00163 fit (name );
00164 } finally {
00165 _releaseReply ($in);
00166 }
00167 }
00168
00169 public int busy ()
00170 {
00171 org.omg.CORBA.portable.InputStream $in = null;
00172 try {
00173 org.omg.CORBA.portable.OutputStream $out = _request ("busy", true);
00174 $in = _invoke ($out);
00175 int $result = $in.read_long ();
00176 return $result;
00177 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00178 $in = $ex.getInputStream ();
00179 String _id = $ex.getId ();
00180 throw new org.omg.CORBA.MARSHAL (_id);
00181 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00182 return busy ( );
00183 } finally {
00184 _releaseReply ($in);
00185 }
00186 }
00187
00188 public int queueLength ()
00189 {
00190 org.omg.CORBA.portable.InputStream $in = null;
00191 try {
00192 org.omg.CORBA.portable.OutputStream $out = _request ("queueLength", true);
00193 $in = _invoke ($out);
00194 int $result = $in.read_long ();
00195 return $result;
00196 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00197 $in = $ex.getInputStream ();
00198 String _id = $ex.getId ();
00199 throw new org.omg.CORBA.MARSHAL (_id);
00200 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00201 return queueLength ( );
00202 } finally {
00203 _releaseReply ($in);
00204 }
00205 }
00206
00207 public int nFitsDone ()
00208 {
00209 org.omg.CORBA.portable.InputStream $in = null;
00210 try {
00211 org.omg.CORBA.portable.OutputStream $out = _request ("nFitsDone", 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 nFitsDone ( );
00221 } finally {
00222 _releaseReply ($in);
00223 }
00224 }
00225
00226 public int nFitErrors ()
00227 {
00228 org.omg.CORBA.portable.InputStream $in = null;
00229 try {
00230 org.omg.CORBA.portable.OutputStream $out = _request ("nFitErrors", true);
00231 $in = _invoke ($out);
00232 int $result = $in.read_long ();
00233 return $result;
00234 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00235 $in = $ex.getInputStream ();
00236 String _id = $ex.getId ();
00237 throw new org.omg.CORBA.MARSHAL (_id);
00238 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00239 return nFitErrors ( );
00240 } finally {
00241 _releaseReply ($in);
00242 }
00243 }
00244
00245 public void useAnalyticAlgorithm (boolean use)
00246 {
00247 org.omg.CORBA.portable.InputStream $in = null;
00248 try {
00249 org.omg.CORBA.portable.OutputStream $out = _request ("useAnalyticAlgorithm", true);
00250 $out.write_boolean (use);
00251 $in = _invoke ($out);
00252 return;
00253 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00254 $in = $ex.getInputStream ();
00255 String _id = $ex.getId ();
00256 throw new org.omg.CORBA.MARSHAL (_id);
00257 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00258 useAnalyticAlgorithm (use );
00259 } finally {
00260 _releaseReply ($in);
00261 }
00262 }
00263
00264 public boolean isUsingAnalyticAlgorithm ()
00265 {
00266 org.omg.CORBA.portable.InputStream $in = null;
00267 try {
00268 org.omg.CORBA.portable.OutputStream $out = _request ("isUsingAnalyticAlgorithm", true);
00269 $in = _invoke ($out);
00270 boolean $result = $in.read_boolean ();
00271 return $result;
00272 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00273 $in = $ex.getInputStream ();
00274 String _id = $ex.getId ();
00275 throw new org.omg.CORBA.MARSHAL (_id);
00276 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00277 return isUsingAnalyticAlgorithm ( );
00278 } finally {
00279 _releaseReply ($in);
00280 }
00281 }
00282
00283 public void setFifo (boolean fifo)
00284 {
00285 org.omg.CORBA.portable.InputStream $in = null;
00286 try {
00287 org.omg.CORBA.portable.OutputStream $out = _request ("setFifo", true);
00288 $out.write_boolean (fifo);
00289 $in = _invoke ($out);
00290 return;
00291 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00292 $in = $ex.getInputStream ();
00293 String _id = $ex.getId ();
00294 throw new org.omg.CORBA.MARSHAL (_id);
00295 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00296 setFifo (fifo );
00297 } finally {
00298 _releaseReply ($in);
00299 }
00300 }
00301
00302 public boolean isFifo ()
00303 {
00304 org.omg.CORBA.portable.InputStream $in = null;
00305 try {
00306 org.omg.CORBA.portable.OutputStream $out = _request ("isFifo", true);
00307 $in = _invoke ($out);
00308 boolean $result = $in.read_boolean ();
00309 return $result;
00310 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00311 $in = $ex.getInputStream ();
00312 String _id = $ex.getId ();
00313 throw new org.omg.CORBA.MARSHAL (_id);
00314 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00315 return isFifo ( );
00316 } finally {
00317 _releaseReply ($in);
00318 }
00319 }
00320
00321 public ipc.servantPackage.info information ()
00322 {
00323 org.omg.CORBA.portable.InputStream $in = null;
00324 try {
00325 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00326 $in = _invoke ($out);
00327 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00328 return $result;
00329 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00330 $in = $ex.getInputStream ();
00331 String _id = $ex.getId ();
00332 throw new org.omg.CORBA.MARSHAL (_id);
00333 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00334 return information ( );
00335 } finally {
00336 _releaseReply ($in);
00337 }
00338 }
00339
00340 public void shutdown ()
00341 {
00342 org.omg.CORBA.portable.InputStream $in = null;
00343 try {
00344 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00345 $in = _invoke ($out);
00346 return;
00347 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00348 $in = $ex.getInputStream ();
00349 String _id = $ex.getId ();
00350 throw new org.omg.CORBA.MARSHAL (_id);
00351 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00352 shutdown ( );
00353 } finally {
00354 _releaseReply ($in);
00355 }
00356 }
00357
00358
00359 private static String[] __ids = {
00360 "IDL:FitterI/FitterInterface:1.0",
00361 "IDL:ipc/servant:1.0"};
00362
00363 public String[] _ids ()
00364 {
00365 return (String[])__ids.clone ();
00366 }
00367
00368 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00369 {
00370 String str = s.readUTF ();
00371 String[] args = null;
00372 java.util.Properties props = null;
00373 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00374 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00375 _set_delegate (delegate);
00376 }
00377
00378 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00379 {
00380 String[] args = null;
00381 java.util.Properties props = null;
00382 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00383 s.writeUTF (str);
00384 }
00385 }