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

_ModuleConfigurationMethodsStub.java

00001 package Sct_SctApi;
00002 
00003 
00012 // Get/set/send module configurations:
00013 public class _ModuleConfigurationMethodsStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.ModuleConfigurationMethods
00014 {
00015 
00016 
00018   public void getABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00019   {
00020             org.omg.CORBA.portable.InputStream $in = null;
00021             try {
00022                 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModules", true);
00023                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00024                 $in = _invoke ($out);
00025                 return;
00026             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00027                 $in = $ex.getInputStream ();
00028                 String _id = $ex.getId ();
00029                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00030                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00031                 else
00032                     throw new org.omg.CORBA.MARSHAL (_id);
00033             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00034                 getABCDModules (bank        );
00035             } finally {
00036                 _releaseReply ($in);
00037             }
00038   } // getABCDModules
00039 
00040   public void getABCDModule (int mid, Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00041   {
00042             org.omg.CORBA.portable.InputStream $in = null;
00043             try {
00044                 org.omg.CORBA.portable.OutputStream $out = _request ("getABCDModule", true);
00045                 $out.write_ulong (mid);
00046                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00047                 $in = _invoke ($out);
00048                 return;
00049             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00050                 $in = $ex.getInputStream ();
00051                 String _id = $ex.getId ();
00052                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00053                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00054                 else
00055                     throw new org.omg.CORBA.MARSHAL (_id);
00056             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00057                 getABCDModule (mid, bank        );
00058             } finally {
00059                 _releaseReply ($in);
00060             }
00061   } // getABCDModule
00062 
00063   public void setABCDModule (int mid, Sct_SctApi.BankType[] banks) throws Sct_SctApi.SctApiException
00064   {
00065             org.omg.CORBA.portable.InputStream $in = null;
00066             try {
00067                 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModule", true);
00068                 $out.write_ulong (mid);
00069                 Sct_SctApi.BankListHelper.write ($out, banks);
00070                 $in = _invoke ($out);
00071                 return;
00072             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00073                 $in = $ex.getInputStream ();
00074                 String _id = $ex.getId ();
00075                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00076                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00077                 else
00078                     throw new org.omg.CORBA.MARSHAL (_id);
00079             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00080                 setABCDModule (mid, banks        );
00081             } finally {
00082                 _releaseReply ($in);
00083             }
00084   } // setABCDModule
00085 
00086   public void setABCDModules (Sct_SctApi.BankType[] bank) throws Sct_SctApi.SctApiException
00087   {
00088             org.omg.CORBA.portable.InputStream $in = null;
00089             try {
00090                 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModules", true);
00091                 Sct_SctApi.BankListHelper.write ($out, bank);
00092                 $in = _invoke ($out);
00093                 return;
00094             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00095                 $in = $ex.getInputStream ();
00096                 String _id = $ex.getId ();
00097                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00098                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00099                 else
00100                     throw new org.omg.CORBA.MARSHAL (_id);
00101             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00102                 setABCDModules (bank        );
00103             } finally {
00104                 _releaseReply ($in);
00105             }
00106   } // setABCDModules
00107 
00108   public void copyABCDModule (int mid, Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00109   {
00110             org.omg.CORBA.portable.InputStream $in = null;
00111             try {
00112                 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModule", true);
00113                 $out.write_ulong (mid);
00114                 Sct_SctApi.BankTypeHelper.write ($out, from);
00115                 Sct_SctApi.BankListHelper.write ($out, to);
00116                 $in = _invoke ($out);
00117                 return;
00118             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00119                 $in = $ex.getInputStream ();
00120                 String _id = $ex.getId ();
00121                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00122                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00123                 else
00124                     throw new org.omg.CORBA.MARSHAL (_id);
00125             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00126                 copyABCDModule (mid, from, to        );
00127             } finally {
00128                 _releaseReply ($in);
00129             }
00130   } // copyABCDModule
00131 
00132   public void copyABCDModules (Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00133   {
00134             org.omg.CORBA.portable.InputStream $in = null;
00135             try {
00136                 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModules", true);
00137                 Sct_SctApi.BankTypeHelper.write ($out, from);
00138                 Sct_SctApi.BankListHelper.write ($out, to);
00139                 $in = _invoke ($out);
00140                 return;
00141             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00142                 $in = $ex.getInputStream ();
00143                 String _id = $ex.getId ();
00144                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00145                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00146                 else
00147                     throw new org.omg.CORBA.MARSHAL (_id);
00148             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00149                 copyABCDModules (from, to        );
00150             } finally {
00151                 _releaseReply ($in);
00152             }
00153   } // copyABCDModules
00154 
00155   public void sendABCDModule (int mid, Sct_SctApi.BankType bank, int type) throws Sct_SctApi.SctApiException
00156   {
00157             org.omg.CORBA.portable.InputStream $in = null;
00158             try {
00159                 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModule", true);
00160                 $out.write_ulong (mid);
00161                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00162                 $out.write_ulong (type);
00163                 $in = _invoke ($out);
00164                 return;
00165             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00166                 $in = $ex.getInputStream ();
00167                 String _id = $ex.getId ();
00168                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00169                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00170                 else
00171                     throw new org.omg.CORBA.MARSHAL (_id);
00172             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00173                 sendABCDModule (mid, bank, type        );
00174             } finally {
00175                 _releaseReply ($in);
00176             }
00177   } // sendABCDModule
00178 
00179   public void sendABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00180   {
00181             org.omg.CORBA.portable.InputStream $in = null;
00182             try {
00183                 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModules", true);
00184                 Sct_SctApi.BankTypeHelper.write ($out, bank);
00185                 $in = _invoke ($out);
00186                 return;
00187             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00188                 $in = $ex.getInputStream ();
00189                 String _id = $ex.getId ();
00190                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00191                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00192                 else
00193                     throw new org.omg.CORBA.MARSHAL (_id);
00194             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00195                 sendABCDModules (bank        );
00196             } finally {
00197                 _releaseReply ($in);
00198             }
00199   } // sendABCDModules
00200 
00201   public void storeModuleConfigurations () throws Sct_SctApi.SctApiException
00202   {
00203             org.omg.CORBA.portable.InputStream $in = null;
00204             try {
00205                 org.omg.CORBA.portable.OutputStream $out = _request ("storeModuleConfigurations", true);
00206                 $in = _invoke ($out);
00207                 return;
00208             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00209                 $in = $ex.getInputStream ();
00210                 String _id = $ex.getId ();
00211                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00212                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00213                 else
00214                     throw new org.omg.CORBA.MARSHAL (_id);
00215             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00216                 storeModuleConfigurations (        );
00217             } finally {
00218                 _releaseReply ($in);
00219             }
00220   } // storeModuleConfigurations
00221 
00222   public void storeBOCConfigurations () throws Sct_SctApi.SctApiException
00223   {
00224             org.omg.CORBA.portable.InputStream $in = null;
00225             try {
00226                 org.omg.CORBA.portable.OutputStream $out = _request ("storeBOCConfigurations", true);
00227                 $in = _invoke ($out);
00228                 return;
00229             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00230                 $in = $ex.getInputStream ();
00231                 String _id = $ex.getId ();
00232                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00233                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00234                 else
00235                     throw new org.omg.CORBA.MARSHAL (_id);
00236             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00237                 storeBOCConfigurations (        );
00238             } finally {
00239                 _releaseReply ($in);
00240             }
00241   } // storeBOCConfigurations
00242 
00243   public void configureAllModules () throws Sct_SctApi.SctApiException
00244   {
00245             org.omg.CORBA.portable.InputStream $in = null;
00246             try {
00247                 org.omg.CORBA.portable.OutputStream $out = _request ("configureAllModules", true);
00248                 $in = _invoke ($out);
00249                 return;
00250             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00251                 $in = $ex.getInputStream ();
00252                 String _id = $ex.getId ();
00253                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00254                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00255                 else
00256                     throw new org.omg.CORBA.MARSHAL (_id);
00257             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00258                 configureAllModules (        );
00259             } finally {
00260                 _releaseReply ($in);
00261             }
00262   } // configureAllModules
00263 
00264   // Type-specific CORBA::Object operations
00265   private static String[] __ids = {
00266     "IDL:Sct_SctApi/ModuleConfigurationMethods:1.0"};
00267 
00268   public String[] _ids ()
00269   {
00270     return (String[])__ids.clone ();
00271   }
00272 
00273   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00274   {
00275      String str = s.readUTF ();
00276      String[] args = null;
00277      java.util.Properties props = null;
00278      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00279      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00280      _set_delegate (delegate);
00281   }
00282 
00283   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00284   {
00285      String[] args = null;
00286      java.util.Properties props = null;
00287      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00288      s.writeUTF (str);
00289   }
00290 } // class _ModuleConfigurationMethodsStub

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