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

_ModifyABCDMethodsStub.java

00001 package Sct_SctApi;
00002 
00003 
00012 // doesn't correspond to "my" crate.
00013 public class _ModifyABCDMethodsStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.ModifyABCDMethods
00014 {
00015 
00016   public void modifyABCDMask (int mid, int[] mask)
00017   {
00018             org.omg.CORBA.portable.InputStream $in = null;
00019             try {
00020                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDMask", true);
00021                 $out.write_ulong (mid);
00022                 Sct_SctApi.DataBlockHelper.write ($out, mask);
00023                 $in = _invoke ($out);
00024                 return;
00025             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00026                 $in = $ex.getInputStream ();
00027                 String _id = $ex.getId ();
00028                 throw new org.omg.CORBA.MARSHAL (_id);
00029             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00030                 modifyABCDMask (mid, mask        );
00031             } finally {
00032                 _releaseReply ($in);
00033             }
00034   } // modifyABCDMask
00035 
00036   public void modifyABCDTrims (int mid, short[] trims)
00037   {
00038             org.omg.CORBA.portable.InputStream $in = null;
00039             try {
00040                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDTrims", true);
00041                 $out.write_ulong (mid);
00042                 Sct_SctApi.CharBlockHelper.write ($out, trims);
00043                 $in = _invoke ($out);
00044                 return;
00045             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00046                 $in = $ex.getInputStream ();
00047                 String _id = $ex.getId ();
00048                 throw new org.omg.CORBA.MARSHAL (_id);
00049             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00050                 modifyABCDTrims (mid, trims        );
00051             } finally {
00052                 _releaseReply ($in);
00053             }
00054   } // modifyABCDTrims
00055 
00056   public void modifyABCDRC (int mid, int chip, short index, double p0, double p1, double p2)
00057   {
00058             org.omg.CORBA.portable.InputStream $in = null;
00059             try {
00060                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDRC", true);
00061                 $out.write_ulong (mid);
00062                 $out.write_ulong (chip);
00063                 $out.write_ushort (index);
00064                 $out.write_double (p0);
00065                 $out.write_double (p1);
00066                 $out.write_double (p2);
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                 modifyABCDRC (mid, chip, index, p0, p1, p2        );
00075             } finally {
00076                 _releaseReply ($in);
00077             }
00078   } // modifyABCDRC
00079 
00080 
00081   // must be different prototypes
00082   public void modifyABCDVar (int typ, double var)
00083   {
00084             org.omg.CORBA.portable.InputStream $in = null;
00085             try {
00086                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVar", true);
00087                 $out.write_ulong (typ);
00088                 $out.write_double (var);
00089                 $in = _invoke ($out);
00090                 return;
00091             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00092                 $in = $ex.getInputStream ();
00093                 String _id = $ex.getId ();
00094                 throw new org.omg.CORBA.MARSHAL (_id);
00095             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00096                 modifyABCDVar (typ, var        );
00097             } finally {
00098                 _releaseReply ($in);
00099             }
00100   } // modifyABCDVar
00101 
00102   public void modifyABCDModuleVar (int mid, int typ, double var)
00103   {
00104             org.omg.CORBA.portable.InputStream $in = null;
00105             try {
00106                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVar", true);
00107                 $out.write_ulong (mid);
00108                 $out.write_ulong (typ);
00109                 $out.write_double (var);
00110                 $in = _invoke ($out);
00111                 return;
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                 modifyABCDModuleVar (mid, typ, var        );
00118             } finally {
00119                 _releaseReply ($in);
00120             }
00121   } // modifyABCDModuleVar
00122 
00123   public void modifyABCDChipVar (int mid, int chip, int typ, double var)
00124   {
00125             org.omg.CORBA.portable.InputStream $in = null;
00126             try {
00127                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDChipVar", true);
00128                 $out.write_ulong (mid);
00129                 $out.write_ulong (chip);
00130                 $out.write_ulong (typ);
00131                 $out.write_double (var);
00132                 $in = _invoke ($out);
00133                 return;
00134             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00135                 $in = $ex.getInputStream ();
00136                 String _id = $ex.getId ();
00137                 throw new org.omg.CORBA.MARSHAL (_id);
00138             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00139                 modifyABCDChipVar (mid, chip, typ, var        );
00140             } finally {
00141                 _releaseReply ($in);
00142             }
00143   } // modifyABCDChipVar
00144 
00145   public void modifyABCDVarROD (int typ, double var, Sct_SctApi.BankType[] banks)
00146   {
00147             org.omg.CORBA.portable.InputStream $in = null;
00148             try {
00149                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDVarROD", true);
00150                 $out.write_ulong (typ);
00151                 $out.write_double (var);
00152                 Sct_SctApi.BankListHelper.write ($out, banks);
00153                 $in = _invoke ($out);
00154                 return;
00155             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00156                 $in = $ex.getInputStream ();
00157                 String _id = $ex.getId ();
00158                 throw new org.omg.CORBA.MARSHAL (_id);
00159             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00160                 modifyABCDVarROD (typ, var, banks        );
00161             } finally {
00162                 _releaseReply ($in);
00163             }
00164   } // modifyABCDVarROD
00165 
00166   public void modifyABCDModuleVarROD (int mid, int typ, double var, Sct_SctApi.BankType[] banks)
00167   {
00168             org.omg.CORBA.portable.InputStream $in = null;
00169             try {
00170                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyABCDModuleVarROD", true);
00171                 $out.write_ulong (mid);
00172                 $out.write_ulong (typ);
00173                 $out.write_double (var);
00174                 Sct_SctApi.BankListHelper.write ($out, banks);
00175                 $in = _invoke ($out);
00176                 return;
00177             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00178                 $in = $ex.getInputStream ();
00179                 String _id = $ex.getId ();
00180                 throw new org.omg.CORBA.MARSHAL (_id);
00181             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00182                 modifyABCDModuleVarROD (mid, typ, var, banks        );
00183             } finally {
00184                 _releaseReply ($in);
00185             }
00186   } // modifyABCDModuleVarROD
00187 
00188   public void modifyBOCParam (int partition, int crate, int rod, int channel, int type, int val)
00189   {
00190             org.omg.CORBA.portable.InputStream $in = null;
00191             try {
00192                 org.omg.CORBA.portable.OutputStream $out = _request ("modifyBOCParam", true);
00193                 $out.write_ulong (partition);
00194                 $out.write_ulong (crate);
00195                 $out.write_ulong (rod);
00196                 $out.write_ulong (channel);
00197                 $out.write_ulong (type);
00198                 $out.write_ulong (val);
00199                 $in = _invoke ($out);
00200                 return;
00201             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00202                 $in = $ex.getInputStream ();
00203                 String _id = $ex.getId ();
00204                 throw new org.omg.CORBA.MARSHAL (_id);
00205             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00206                 modifyBOCParam (partition, crate, rod, channel, type, val        );
00207             } finally {
00208                 _releaseReply ($in);
00209             }
00210   } // modifyBOCParam
00211 
00212   // Type-specific CORBA::Object operations
00213   private static String[] __ids = {
00214     "IDL:Sct_SctApi/ModifyABCDMethods:1.0"};
00215 
00216   public String[] _ids ()
00217   {
00218     return (String[])__ids.clone ();
00219   }
00220 
00221   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00222   {
00223      String str = s.readUTF ();
00224      String[] args = null;
00225      java.util.Properties props = null;
00226      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00227      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00228      _set_delegate (delegate);
00229   }
00230 
00231   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00232   {
00233      String[] args = null;
00234      java.util.Properties props = null;
00235      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00236      s.writeUTF (str);
00237   }
00238 } // class _ModifyABCDMethodsStub

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