_ScanMonitorStub.java

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

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