00001 package Sct_SctApi;
00002
00003
00012
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 }
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 }
00062
00063 public void setAutoUpdateBanks (Sct_SctApi.BankType[] banks)
00064 {
00065 org.omg.CORBA.portable.InputStream $in = null;
00066 try {
00067 org.omg.CORBA.portable.OutputStream $out = _request ("setAutoUpdateBanks", true);
00068 Sct_SctApi.BankListHelper.write ($out, banks);
00069 $in = _invoke ($out);
00070 return;
00071 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00072 $in = $ex.getInputStream ();
00073 String _id = $ex.getId ();
00074 throw new org.omg.CORBA.MARSHAL (_id);
00075 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00076 setAutoUpdateBanks (banks );
00077 } finally {
00078 _releaseReply ($in);
00079 }
00080 }
00081
00082 public void setABCDModule (int mid, Sct_SctApi.BankType[] banks) throws Sct_SctApi.SctApiException
00083 {
00084 org.omg.CORBA.portable.InputStream $in = null;
00085 try {
00086 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModule", true);
00087 $out.write_ulong (mid);
00088 Sct_SctApi.BankListHelper.write ($out, banks);
00089 $in = _invoke ($out);
00090 return;
00091 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00092 $in = $ex.getInputStream ();
00093 String _id = $ex.getId ();
00094 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00095 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00096 else
00097 throw new org.omg.CORBA.MARSHAL (_id);
00098 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00099 setABCDModule (mid, banks );
00100 } finally {
00101 _releaseReply ($in);
00102 }
00103 }
00104
00105 public void setABCDModules (Sct_SctApi.BankType[] bank) throws Sct_SctApi.SctApiException
00106 {
00107 org.omg.CORBA.portable.InputStream $in = null;
00108 try {
00109 org.omg.CORBA.portable.OutputStream $out = _request ("setABCDModules", true);
00110 Sct_SctApi.BankListHelper.write ($out, bank);
00111 $in = _invoke ($out);
00112 return;
00113 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00114 $in = $ex.getInputStream ();
00115 String _id = $ex.getId ();
00116 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00117 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00118 else
00119 throw new org.omg.CORBA.MARSHAL (_id);
00120 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00121 setABCDModules (bank );
00122 } finally {
00123 _releaseReply ($in);
00124 }
00125 }
00126
00127 public void copyABCDModule (int mid, Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00128 {
00129 org.omg.CORBA.portable.InputStream $in = null;
00130 try {
00131 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModule", true);
00132 $out.write_ulong (mid);
00133 Sct_SctApi.BankTypeHelper.write ($out, from);
00134 Sct_SctApi.BankListHelper.write ($out, to);
00135 $in = _invoke ($out);
00136 return;
00137 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00138 $in = $ex.getInputStream ();
00139 String _id = $ex.getId ();
00140 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00141 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00142 else
00143 throw new org.omg.CORBA.MARSHAL (_id);
00144 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00145 copyABCDModule (mid, from, to );
00146 } finally {
00147 _releaseReply ($in);
00148 }
00149 }
00150
00151 public void copyABCDModules (Sct_SctApi.BankType from, Sct_SctApi.BankType[] to) throws Sct_SctApi.SctApiException
00152 {
00153 org.omg.CORBA.portable.InputStream $in = null;
00154 try {
00155 org.omg.CORBA.portable.OutputStream $out = _request ("copyABCDModules", true);
00156 Sct_SctApi.BankTypeHelper.write ($out, from);
00157 Sct_SctApi.BankListHelper.write ($out, to);
00158 $in = _invoke ($out);
00159 return;
00160 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00161 $in = $ex.getInputStream ();
00162 String _id = $ex.getId ();
00163 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00164 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00165 else
00166 throw new org.omg.CORBA.MARSHAL (_id);
00167 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00168 copyABCDModules (from, to );
00169 } finally {
00170 _releaseReply ($in);
00171 }
00172 }
00173
00174 public void sendABCDModule (int mid, Sct_SctApi.BankType bank, int type) throws Sct_SctApi.SctApiException
00175 {
00176 org.omg.CORBA.portable.InputStream $in = null;
00177 try {
00178 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModule", true);
00179 $out.write_ulong (mid);
00180 Sct_SctApi.BankTypeHelper.write ($out, bank);
00181 $out.write_ulong (type);
00182 $in = _invoke ($out);
00183 return;
00184 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00185 $in = $ex.getInputStream ();
00186 String _id = $ex.getId ();
00187 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00188 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00189 else
00190 throw new org.omg.CORBA.MARSHAL (_id);
00191 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00192 sendABCDModule (mid, bank, type );
00193 } finally {
00194 _releaseReply ($in);
00195 }
00196 }
00197
00198 public void sendABCDModules (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00199 {
00200 org.omg.CORBA.portable.InputStream $in = null;
00201 try {
00202 org.omg.CORBA.portable.OutputStream $out = _request ("sendABCDModules", true);
00203 Sct_SctApi.BankTypeHelper.write ($out, bank);
00204 $in = _invoke ($out);
00205 return;
00206 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00207 $in = $ex.getInputStream ();
00208 String _id = $ex.getId ();
00209 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00210 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00211 else
00212 throw new org.omg.CORBA.MARSHAL (_id);
00213 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00214 sendABCDModules (bank );
00215 } finally {
00216 _releaseReply ($in);
00217 }
00218 }
00219
00220 public void storeModuleConfigurations (Sct_SctApi.BankType bank) throws Sct_SctApi.SctApiException
00221 {
00222 org.omg.CORBA.portable.InputStream $in = null;
00223 try {
00224 org.omg.CORBA.portable.OutputStream $out = _request ("storeModuleConfigurations", true);
00225 Sct_SctApi.BankTypeHelper.write ($out, bank);
00226 $in = _invoke ($out);
00227 return;
00228 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00229 $in = $ex.getInputStream ();
00230 String _id = $ex.getId ();
00231 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00232 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00233 else
00234 throw new org.omg.CORBA.MARSHAL (_id);
00235 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00236 storeModuleConfigurations (bank );
00237 } finally {
00238 _releaseReply ($in);
00239 }
00240 }
00241
00242 public void storeBOCConfigurations () throws Sct_SctApi.SctApiException
00243 {
00244 org.omg.CORBA.portable.InputStream $in = null;
00245 try {
00246 org.omg.CORBA.portable.OutputStream $out = _request ("storeBOCConfigurations", true);
00247 $in = _invoke ($out);
00248 return;
00249 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00250 $in = $ex.getInputStream ();
00251 String _id = $ex.getId ();
00252 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00253 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00254 else
00255 throw new org.omg.CORBA.MARSHAL (_id);
00256 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00257 storeBOCConfigurations ( );
00258 } finally {
00259 _releaseReply ($in);
00260 }
00261 }
00262
00263 public void configureAllModules () throws Sct_SctApi.SctApiException
00264 {
00265 org.omg.CORBA.portable.InputStream $in = null;
00266 try {
00267 org.omg.CORBA.portable.OutputStream $out = _request ("configureAllModules", true);
00268 $in = _invoke ($out);
00269 return;
00270 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00271 $in = $ex.getInputStream ();
00272 String _id = $ex.getId ();
00273 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00274 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00275 else
00276 throw new org.omg.CORBA.MARSHAL (_id);
00277 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00278 configureAllModules ( );
00279 } finally {
00280 _releaseReply ($in);
00281 }
00282 }
00283
00284 public void loadModuleConfigurations () throws Sct_SctApi.SctApiException
00285 {
00286 org.omg.CORBA.portable.InputStream $in = null;
00287 try {
00288 org.omg.CORBA.portable.OutputStream $out = _request ("loadModuleConfigurations", true);
00289 $in = _invoke ($out);
00290 return;
00291 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00292 $in = $ex.getInputStream ();
00293 String _id = $ex.getId ();
00294 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00295 throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00296 else
00297 throw new org.omg.CORBA.MARSHAL (_id);
00298 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00299 loadModuleConfigurations ( );
00300 } finally {
00301 _releaseReply ($in);
00302 }
00303 }
00304
00305
00306 private static String[] __ids = {
00307 "IDL:Sct_SctApi/ModuleConfigurationMethods:1.0"};
00308
00309 public String[] _ids ()
00310 {
00311 return (String[])__ids.clone ();
00312 }
00313
00314 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00315 {
00316 String str = s.readUTF ();
00317 String[] args = null;
00318 java.util.Properties props = null;
00319 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00320 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00321 _set_delegate (delegate);
00322 }
00323
00324 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00325 {
00326 String[] args = null;
00327 java.util.Properties props = null;
00328 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00329 s.writeUTF (str);
00330 }
00331 }