00001 package Sct_SctApi;
00002
00003
00012
00013 public class _DeprecatedInterfaceOneStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.DeprecatedInterfaceOne
00014 {
00015
00016
00017
00018 public void loadConfiguration (String filename) throws Sct_SctApi.SctApiException
00019 {
00020 org.omg.CORBA.portable.InputStream $in = null;
00021 try {
00022 org.omg.CORBA.portable.OutputStream $out = _request ("loadConfiguration", true);
00023 $out.write_string (filename);
00024 $in = _invoke ($out);
00025 return;
00026 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00027 $in = $ex.getInputStream ();
00028 String _id = $ex.getId ();
00029 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00030 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00031 else
00032 throw new org.omg.CORBA.MARSHAL (_id);
00033 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00034 loadConfiguration (filename );
00035 } finally {
00036 _releaseReply ($in);
00037 }
00038 }
00039
00040
00041 private static String[] __ids = {
00042 "IDL:Sct_SctApi/DeprecatedInterfaceOne:1.0"};
00043
00044 public String[] _ids ()
00045 {
00046 return (String[])__ids.clone ();
00047 }
00048
00049 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00050 {
00051 String str = s.readUTF ();
00052 String[] args = null;
00053 java.util.Properties props = null;
00054 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00055 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00056 _set_delegate (delegate);
00057 }
00058
00059 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00060 {
00061 String[] args = null;
00062 java.util.Properties props = null;
00063 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00064 s.writeUTF (str);
00065 }
00066 }