00001 package Sct_SctApi;
00002
00003
00012
00013 public class _RetrievingConfigurationMethodsStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.RetrievingConfigurationMethods
00014 {
00015
00016
00018 public sctConf.ABCDModule retrieveModule (int mid)
00019 {
00020 org.omg.CORBA.portable.InputStream $in = null;
00021 try {
00022 org.omg.CORBA.portable.OutputStream $out = _request ("retrieveModule", true);
00023 $out.write_ulong (mid);
00024 $in = _invoke ($out);
00025 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00026 return $result;
00027 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00028 $in = $ex.getInputStream ();
00029 String _id = $ex.getId ();
00030 throw new org.omg.CORBA.MARSHAL (_id);
00031 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00032 return retrieveModule (mid );
00033 } finally {
00034 _releaseReply ($in);
00035 }
00036 }
00037
00038 public sctConf.BOCChannelConfig[] currentBOCSetup (int partition, int crate, int rod)
00039 {
00040 org.omg.CORBA.portable.InputStream $in = null;
00041 try {
00042 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCSetup", true);
00043 $out.write_ulong (partition);
00044 $out.write_ulong (crate);
00045 $out.write_ulong (rod);
00046 $in = _invoke ($out);
00047 sctConf.BOCChannelConfig $result[] = Sct_SctApi.BOCChannelListHelper.read ($in);
00048 return $result;
00049 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00050 $in = $ex.getInputStream ();
00051 String _id = $ex.getId ();
00052 throw new org.omg.CORBA.MARSHAL (_id);
00053 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00054 return currentBOCSetup (partition, crate, rod );
00055 } finally {
00056 _releaseReply ($in);
00057 }
00058 }
00059
00060 public sctConf.BOCGlobalConfig currentBOCRegisters (int partition, int crate, int rod)
00061 {
00062 org.omg.CORBA.portable.InputStream $in = null;
00063 try {
00064 org.omg.CORBA.portable.OutputStream $out = _request ("currentBOCRegisters", true);
00065 $out.write_ulong (partition);
00066 $out.write_ulong (crate);
00067 $out.write_ulong (rod);
00068 $in = _invoke ($out);
00069 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
00070 return $result;
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 return currentBOCRegisters (partition, crate, rod );
00077 } finally {
00078 _releaseReply ($in);
00079 }
00080 }
00081
00082
00083 private static String[] __ids = {
00084 "IDL:Sct_SctApi/RetrievingConfigurationMethods:1.0"};
00085
00086 public String[] _ids ()
00087 {
00088 return (String[])__ids.clone ();
00089 }
00090
00091 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00092 {
00093 String str = s.readUTF ();
00094 String[] args = null;
00095 java.util.Properties props = null;
00096 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00097 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00098 _set_delegate (delegate);
00099 }
00100
00101 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00102 {
00103 String[] args = null;
00104 java.util.Properties props = null;
00105 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00106 s.writeUTF (str);
00107 }
00108 }