_ModuleInquiryStub.java

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

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