_AutoConfigureStub.java

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

Generated on Mon Feb 6 14:12:03 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6