Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

_DebugSTDOUTStub.java

00001 package Sct_SctApi;
00002 
00003 
00012 // Only useful with stdout, therefore debug only
00013 public class _DebugSTDOUTStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.DebugSTDOUT
00014 {
00015 
00016   public void printABCDModule (int mid)
00017   {
00018             org.omg.CORBA.portable.InputStream $in = null;
00019             try {
00020                 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDModule", true);
00021                 $out.write_ulong (mid);
00022                 $in = _invoke ($out);
00023                 return;
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                 printABCDModule (mid        );
00030             } finally {
00031                 _releaseReply ($in);
00032             }
00033   } // printABCDModule
00034 
00035   public void printABCDRodModule (int mid, Sct_SctApi.BankType bank)
00036   {
00037             org.omg.CORBA.portable.InputStream $in = null;
00038             try {
00039                 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDRodModule", true);
00040                 $out.write_ulong (mid);
00041                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00042                 $in = _invoke ($out);
00043                 return;
00044             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00045                 $in = $ex.getInputStream ();
00046                 String _id = $ex.getId ();
00047                 throw new org.omg.CORBA.MARSHAL (_id);
00048             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00049                 printABCDRodModule (mid, bank        );
00050             } finally {
00051                 _releaseReply ($in);
00052             }
00053   } // printABCDRodModule
00054 
00055   public void decodeEvent (int partition, int crate, int rod, short sl, short index, boolean extFlag, boolean errorType)
00056   {
00057             org.omg.CORBA.portable.InputStream $in = null;
00058             try {
00059                 org.omg.CORBA.portable.OutputStream $out = _request ("decodeEvent", true);
00060                 $out.write_ulong (partition);
00061                 $out.write_ulong (crate);
00062                 $out.write_ulong (rod);
00063                 $out.write_short (sl);
00064                 $out.write_short (index);
00065                 $out.write_boolean (extFlag);
00066                 $out.write_boolean (errorType);
00067                 $in = _invoke ($out);
00068                 return;
00069             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00070                 $in = $ex.getInputStream ();
00071                 String _id = $ex.getId ();
00072                 throw new org.omg.CORBA.MARSHAL (_id);
00073             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00074                 decodeEvent (partition, crate, rod, sl, index, extFlag, errorType        );
00075             } finally {
00076                 _releaseReply ($in);
00077             }
00078   } // decodeEvent
00079 
00080   public void configureBOC (int partition, int crate, int rod)
00081   {
00082             org.omg.CORBA.portable.InputStream $in = null;
00083             try {
00084                 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
00085                 $out.write_ulong (partition);
00086                 $out.write_ulong (crate);
00087                 $out.write_ulong (rod);
00088                 $in = _invoke ($out);
00089                 return;
00090             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00091                 $in = $ex.getInputStream ();
00092                 String _id = $ex.getId ();
00093                 throw new org.omg.CORBA.MARSHAL (_id);
00094             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00095                 configureBOC (partition, crate, rod        );
00096             } finally {
00097                 _releaseReply ($in);
00098             }
00099   } // configureBOC
00100 
00101   public double[] getBOCMonitorArray (int partition, int crate, int rod)
00102   {
00103             org.omg.CORBA.portable.InputStream $in = null;
00104             try {
00105                 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCMonitorArray", true);
00106                 $out.write_ulong (partition);
00107                 $out.write_ulong (crate);
00108                 $out.write_ulong (rod);
00109                 $in = _invoke ($out);
00110                 double $result[] = Sct_SctApi.BOCMonitorSequenceHelper.read ($in);
00111                 return $result;
00112             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00113                 $in = $ex.getInputStream ();
00114                 String _id = $ex.getId ();
00115                 throw new org.omg.CORBA.MARSHAL (_id);
00116             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00117                 return getBOCMonitorArray (partition, crate, rod        );
00118             } finally {
00119                 _releaseReply ($in);
00120             }
00121   } // getBOCMonitorArray
00122 
00123   // Type-specific CORBA::Object operations
00124   private static String[] __ids = {
00125     "IDL:Sct_SctApi/DebugSTDOUT:1.0"};
00126 
00127   public String[] _ids ()
00128   {
00129     return (String[])__ids.clone ();
00130   }
00131 
00132   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00133   {
00134      String str = s.readUTF ();
00135      String[] args = null;
00136      java.util.Properties props = null;
00137      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00138      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00139      _set_delegate (delegate);
00140   }
00141 
00142   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00143   {
00144      String[] args = null;
00145      java.util.Properties props = null;
00146      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00147      s.writeUTF (str);
00148   }
00149 } // class _DebugSTDOUTStub

Generated on Fri Sep 16 18:05:51 2005 for SCT DAQ/DCS Software - Java by doxygen 1.3.5