00001 package AnalysisServiceI;
00002
00003
00011 public class _AnalysisServiceInterfaceStub extends org.omg.CORBA.portable.ObjectImpl implements AnalysisServiceI.AnalysisServiceInterface
00012 {
00013
00014 public void analyze (String testname)
00015 {
00016 org.omg.CORBA.portable.InputStream $in = null;
00017 try {
00018 org.omg.CORBA.portable.OutputStream $out = _request ("analyze", false);
00019 $out.write_string (testname);
00020 $in = _invoke ($out);
00021 return;
00022 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00023 $in = $ex.getInputStream ();
00024 String _id = $ex.getId ();
00025 throw new org.omg.CORBA.MARSHAL (_id);
00026 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00027 analyze (testname );
00028 } finally {
00029 _releaseReply ($in);
00030 }
00031 }
00032
00033 public void analyzeModule (String testname, String modulename)
00034 {
00035 org.omg.CORBA.portable.InputStream $in = null;
00036 try {
00037 org.omg.CORBA.portable.OutputStream $out = _request ("analyzeModule", false);
00038 $out.write_string (testname);
00039 $out.write_string (modulename);
00040 $in = _invoke ($out);
00041 return;
00042 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00043 $in = $ex.getInputStream ();
00044 String _id = $ex.getId ();
00045 throw new org.omg.CORBA.MARSHAL (_id);
00046 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00047 analyzeModule (testname, modulename );
00048 } finally {
00049 _releaseReply ($in);
00050 }
00051 }
00052
00053 public void purge ()
00054 {
00055 org.omg.CORBA.portable.InputStream $in = null;
00056 try {
00057 org.omg.CORBA.portable.OutputStream $out = _request ("purge", false);
00058 $in = _invoke ($out);
00059 return;
00060 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00061 $in = $ex.getInputStream ();
00062 String _id = $ex.getId ();
00063 throw new org.omg.CORBA.MARSHAL (_id);
00064 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00065 purge ( );
00066 } finally {
00067 _releaseReply ($in);
00068 }
00069 }
00070
00071 public String status ()
00072 {
00073 org.omg.CORBA.portable.InputStream $in = null;
00074 try {
00075 org.omg.CORBA.portable.OutputStream $out = _request ("status", true);
00076 $in = _invoke ($out);
00077 String $result = $in.read_string ();
00078 return $result;
00079 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00080 $in = $ex.getInputStream ();
00081 String _id = $ex.getId ();
00082 throw new org.omg.CORBA.MARSHAL (_id);
00083 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00084 return status ( );
00085 } finally {
00086 _releaseReply ($in);
00087 }
00088 }
00089
00090 public short busy ()
00091 {
00092 org.omg.CORBA.portable.InputStream $in = null;
00093 try {
00094 org.omg.CORBA.portable.OutputStream $out = _request ("busy", true);
00095 $in = _invoke ($out);
00096 short $result = $in.read_short ();
00097 return $result;
00098 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00099 $in = $ex.getInputStream ();
00100 String _id = $ex.getId ();
00101 throw new org.omg.CORBA.MARSHAL (_id);
00102 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00103 return busy ( );
00104 } finally {
00105 _releaseReply ($in);
00106 }
00107 }
00108
00109 public short queueLength ()
00110 {
00111 org.omg.CORBA.portable.InputStream $in = null;
00112 try {
00113 org.omg.CORBA.portable.OutputStream $out = _request ("queueLength", true);
00114 $in = _invoke ($out);
00115 short $result = $in.read_short ();
00116 return $result;
00117 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00118 $in = $ex.getInputStream ();
00119 String _id = $ex.getId ();
00120 throw new org.omg.CORBA.MARSHAL (_id);
00121 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00122 return queueLength ( );
00123 } finally {
00124 _releaseReply ($in);
00125 }
00126 }
00127
00128 public void setFifo (boolean fifo)
00129 {
00130 org.omg.CORBA.portable.InputStream $in = null;
00131 try {
00132 org.omg.CORBA.portable.OutputStream $out = _request ("setFifo", true);
00133 $out.write_boolean (fifo);
00134 $in = _invoke ($out);
00135 return;
00136 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00137 $in = $ex.getInputStream ();
00138 String _id = $ex.getId ();
00139 throw new org.omg.CORBA.MARSHAL (_id);
00140 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00141 setFifo (fifo );
00142 } finally {
00143 _releaseReply ($in);
00144 }
00145 }
00146
00147 public boolean isFifo ()
00148 {
00149 org.omg.CORBA.portable.InputStream $in = null;
00150 try {
00151 org.omg.CORBA.portable.OutputStream $out = _request ("isFifo", true);
00152 $in = _invoke ($out);
00153 boolean $result = $in.read_boolean ();
00154 return $result;
00155 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00156 $in = $ex.getInputStream ();
00157 String _id = $ex.getId ();
00158 throw new org.omg.CORBA.MARSHAL (_id);
00159 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00160 return isFifo ( );
00161 } finally {
00162 _releaseReply ($in);
00163 }
00164 }
00165
00166 public ipc.servantPackage.info information ()
00167 {
00168 org.omg.CORBA.portable.InputStream $in = null;
00169 try {
00170 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00171 $in = _invoke ($out);
00172 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00173 return $result;
00174 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00175 $in = $ex.getInputStream ();
00176 String _id = $ex.getId ();
00177 throw new org.omg.CORBA.MARSHAL (_id);
00178 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00179 return information ( );
00180 } finally {
00181 _releaseReply ($in);
00182 }
00183 }
00184
00185 public void shutdown ()
00186 {
00187 org.omg.CORBA.portable.InputStream $in = null;
00188 try {
00189 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00190 $in = _invoke ($out);
00191 return;
00192 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00193 $in = $ex.getInputStream ();
00194 String _id = $ex.getId ();
00195 throw new org.omg.CORBA.MARSHAL (_id);
00196 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00197 shutdown ( );
00198 } finally {
00199 _releaseReply ($in);
00200 }
00201 }
00202
00203
00204 private static String[] __ids = {
00205 "IDL:AnalysisServiceI/AnalysisServiceInterface:1.0",
00206 "IDL:ipc/servant:1.0"};
00207
00208 public String[] _ids ()
00209 {
00210 return (String[])__ids.clone ();
00211 }
00212
00213 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00214 {
00215 String str = s.readUTF ();
00216 String[] args = null;
00217 java.util.Properties props = null;
00218 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00219 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00220 _set_delegate (delegate);
00221 }
00222
00223 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00224 {
00225 String[] args = null;
00226 java.util.Properties props = null;
00227 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00228 s.writeUTF (str);
00229 }
00230 }