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 get_info (ipc.InfoHolder inf)
00129 {
00130 org.omg.CORBA.portable.InputStream $in = null;
00131 try {
00132 org.omg.CORBA.portable.OutputStream $out = _request ("get_info", true);
00133 $in = _invoke ($out);
00134 inf.value = ipc.InfoHelper.read ($in);
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 get_info (inf );
00142 } finally {
00143 _releaseReply ($in);
00144 }
00145 }
00146
00147 public void destroy ()
00148 {
00149 org.omg.CORBA.portable.InputStream $in = null;
00150 try {
00151 org.omg.CORBA.portable.OutputStream $out = _request ("destroy", false);
00152 $in = _invoke ($out);
00153 return;
00154 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00155 $in = $ex.getInputStream ();
00156 String _id = $ex.getId ();
00157 throw new org.omg.CORBA.MARSHAL (_id);
00158 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00159 destroy ( );
00160 } finally {
00161 _releaseReply ($in);
00162 }
00163 }
00164
00165
00166 private static String[] __ids = {
00167 "IDL:AnalysisServiceI/AnalysisServiceInterface:1.0",
00168 "IDL:ipc/freeable:1.0"};
00169
00170 public String[] _ids ()
00171 {
00172 return (String[])__ids.clone ();
00173 }
00174
00175 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00176 {
00177 String str = s.readUTF ();
00178 String[] args = null;
00179 java.util.Properties props = null;
00180 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00181 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00182 _set_delegate (delegate);
00183 }
00184
00185 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00186 {
00187 String[] args = null;
00188 java.util.Properties props = null;
00189 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00190 s.writeUTF (str);
00191 }
00192 }