_DeprecatedInterfaceExtraRawStub.java

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

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