00001 package sctConf;
00002
00003
00011 public class _ConfigurationArchiveStub extends org.omg.CORBA.portable.ObjectImpl implements sctConf.ConfigurationArchive
00012 {
00013
00014
00019 public sctConf.Configuration getOldRunConfiguration (int runNumber, boolean start)
00020 {
00021 org.omg.CORBA.portable.InputStream $in = null;
00022 try {
00023 org.omg.CORBA.portable.OutputStream $out = _request ("getOldRunConfiguration", true);
00024 $out.write_ulong (runNumber);
00025 $out.write_boolean (start);
00026 $in = _invoke ($out);
00027 sctConf.Configuration $result = sctConf.ConfigurationHelper.read ($in);
00028 return $result;
00029 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00030 $in = $ex.getInputStream ();
00031 String _id = $ex.getId ();
00032 throw new org.omg.CORBA.MARSHAL (_id);
00033 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00034 return getOldRunConfiguration (runNumber, start );
00035 } finally {
00036 _releaseReply ($in);
00037 }
00038 }
00039
00040
00044 public int[] listConfigurationRuns ()
00045 {
00046 org.omg.CORBA.portable.InputStream $in = null;
00047 try {
00048 org.omg.CORBA.portable.OutputStream $out = _request ("listConfigurationRuns", true);
00049 $in = _invoke ($out);
00050 int $result[] = sctConf.RunNumberListHelper.read ($in);
00051 return $result;
00052 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00053 $in = $ex.getInputStream ();
00054 String _id = $ex.getId ();
00055 throw new org.omg.CORBA.MARSHAL (_id);
00056 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00057 return listConfigurationRuns ( );
00058 } finally {
00059 _releaseReply ($in);
00060 }
00061 }
00062
00063 public void get_info (ipc.InfoHolder inf)
00064 {
00065 org.omg.CORBA.portable.InputStream $in = null;
00066 try {
00067 org.omg.CORBA.portable.OutputStream $out = _request ("get_info", true);
00068 $in = _invoke ($out);
00069 inf.value = ipc.InfoHelper.read ($in);
00070 return;
00071 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00072 $in = $ex.getInputStream ();
00073 String _id = $ex.getId ();
00074 throw new org.omg.CORBA.MARSHAL (_id);
00075 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00076 get_info (inf );
00077 } finally {
00078 _releaseReply ($in);
00079 }
00080 }
00081
00082 public void destroy ()
00083 {
00084 org.omg.CORBA.portable.InputStream $in = null;
00085 try {
00086 org.omg.CORBA.portable.OutputStream $out = _request ("destroy", false);
00087 $in = _invoke ($out);
00088 return;
00089 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00090 $in = $ex.getInputStream ();
00091 String _id = $ex.getId ();
00092 throw new org.omg.CORBA.MARSHAL (_id);
00093 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00094 destroy ( );
00095 } finally {
00096 _releaseReply ($in);
00097 }
00098 }
00099
00100
00101 private static String[] __ids = {
00102 "IDL:sctConf/ConfigurationArchive:1.0",
00103 "IDL:ipc/freeable:1.0"};
00104
00105 public String[] _ids ()
00106 {
00107 return (String[])__ids.clone ();
00108 }
00109
00110 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00111 {
00112 String str = s.readUTF ();
00113 String[] args = null;
00114 java.util.Properties props = null;
00115 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00116 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00117 _set_delegate (delegate);
00118 }
00119
00120 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00121 {
00122 String[] args = null;
00123 java.util.Properties props = null;
00124 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00125 s.writeUTF (str);
00126 }
00127 }