_BOCConfigurationMethodsStub.java

00001 package Sct_SctApi;
00002 
00003 
00012 // These should prbably be crate level only
00013 public class _BOCConfigurationMethodsStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.BOCConfigurationMethods
00014 {
00015 
00016   public void configureBOC (int partition, int crate, int rod)
00017   {
00018             org.omg.CORBA.portable.InputStream $in = null;
00019             try {
00020                 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
00021                 $out.write_ulong (partition);
00022                 $out.write_ulong (crate);
00023                 $out.write_ulong (rod);
00024                 $in = _invoke ($out);
00025                 return;
00026             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00027                 $in = $ex.getInputStream ();
00028                 String _id = $ex.getId ();
00029                 throw new org.omg.CORBA.MARSHAL (_id);
00030             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00031                 configureBOC (partition, crate, rod        );
00032             } finally {
00033                 _releaseReply ($in);
00034             }
00035   } // configureBOC
00036 
00037   public double[] getBOCMonitorArray (int partition, int crate, int rod)
00038   {
00039             org.omg.CORBA.portable.InputStream $in = null;
00040             try {
00041                 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCMonitorArray", true);
00042                 $out.write_ulong (partition);
00043                 $out.write_ulong (crate);
00044                 $out.write_ulong (rod);
00045                 $in = _invoke ($out);
00046                 double $result[] = Sct_SctApi.BOCMonitorSequenceHelper.read ($in);
00047                 return $result;
00048             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00049                 $in = $ex.getInputStream ();
00050                 String _id = $ex.getId ();
00051                 throw new org.omg.CORBA.MARSHAL (_id);
00052             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00053                 return getBOCMonitorArray (partition, crate, rod        );
00054             } finally {
00055                 _releaseReply ($in);
00056             }
00057   } // getBOCMonitorArray
00058 
00059   // Type-specific CORBA::Object operations
00060   private static String[] __ids = {
00061     "IDL:Sct_SctApi/BOCConfigurationMethods:1.0"};
00062 
00063   public String[] _ids ()
00064   {
00065     return (String[])__ids.clone ();
00066   }
00067 
00068   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00069   {
00070      String str = s.readUTF ();
00071      String[] args = null;
00072      java.util.Properties props = null;
00073      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00074      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00075      _set_delegate (delegate);
00076   }
00077 
00078   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00079   {
00080      String[] args = null;
00081      java.util.Properties props = null;
00082      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00083      s.writeUTF (str);
00084   }
00085 } // class _BOCConfigurationMethodsStub

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