_SequenceRequestStub.java

00001 package Sct_CalibrationController;
00002 
00003 
00016 public class _SequenceRequestStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_CalibrationController.SequenceRequest
00017 {
00018 
00019 
00024   public String startSequence (Sct_SctApi.SctApiIPC api)
00025   {
00026             org.omg.CORBA.portable.InputStream $in = null;
00027             try {
00028                 org.omg.CORBA.portable.OutputStream $out = _request ("startSequence", true);
00029                 Sct_SctApi.SctApiIPCHelper.write ($out, api);
00030                 $in = _invoke ($out);
00031                 String $result = $in.read_string ();
00032                 return $result;
00033             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00034                 $in = $ex.getInputStream ();
00035                 String _id = $ex.getId ();
00036                 throw new org.omg.CORBA.MARSHAL (_id);
00037             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00038                 return startSequence (api        );
00039             } finally {
00040                 _releaseReply ($in);
00041             }
00042   } // startSequence
00043 
00044 
00049   public Sct_CalibrationController.TestRequest getNextTest (int index)
00050   {
00051             org.omg.CORBA.portable.InputStream $in = null;
00052             try {
00053                 org.omg.CORBA.portable.OutputStream $out = _request ("getNextTest", true);
00054                 $out.write_ulong (index);
00055                 $in = _invoke ($out);
00056                 Sct_CalibrationController.TestRequest $result = Sct_CalibrationController.TestRequestHelper.read ($in);
00057                 return $result;
00058             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00059                 $in = $ex.getInputStream ();
00060                 String _id = $ex.getId ();
00061                 throw new org.omg.CORBA.MARSHAL (_id);
00062             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00063                 return getNextTest (index        );
00064             } finally {
00065                 _releaseReply ($in);
00066             }
00067   } // getNextTest
00068 
00069 
00073   public void endSequence ()
00074   {
00075             org.omg.CORBA.portable.InputStream $in = null;
00076             try {
00077                 org.omg.CORBA.portable.OutputStream $out = _request ("endSequence", true);
00078                 $in = _invoke ($out);
00079                 return;
00080             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00081                 $in = $ex.getInputStream ();
00082                 String _id = $ex.getId ();
00083                 throw new org.omg.CORBA.MARSHAL (_id);
00084             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00085                 endSequence (        );
00086             } finally {
00087                 _releaseReply ($in);
00088             }
00089   } // endSequence
00090 
00091   // Type-specific CORBA::Object operations
00092   private static String[] __ids = {
00093     "IDL:Sct_CalibrationController/SequenceRequest:1.0"};
00094 
00095   public String[] _ids ()
00096   {
00097     return (String[])__ids.clone ();
00098   }
00099 
00100   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00101   {
00102      String str = s.readUTF ();
00103      String[] args = null;
00104      java.util.Properties props = null;
00105      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00106      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00107      _set_delegate (delegate);
00108   }
00109 
00110   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00111   {
00112      String[] args = null;
00113      java.util.Properties props = null;
00114      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00115      s.writeUTF (str);
00116   }
00117 } // class _SequenceRequestStub

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