00001 package sctConf;
00002
00003
00011 public class _ConfigurationStub extends org.omg.CORBA.portable.ObjectImpl implements sctConf.Configuration
00012 {
00013
00014
00015
00016 public int[] listPartitions () throws sctConf.ConfigurationException
00017 {
00018 org.omg.CORBA.portable.InputStream $in = null;
00019 try {
00020 org.omg.CORBA.portable.OutputStream $out = _request ("listPartitions", true);
00021 $in = _invoke ($out);
00022 int $result[] = sctConf.PartitionListHelper.read ($in);
00023 return $result;
00024 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00025 $in = $ex.getInputStream ();
00026 String _id = $ex.getId ();
00027 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00028 throw sctConf.ConfigurationExceptionHelper.read ($in);
00029 else
00030 throw new org.omg.CORBA.MARSHAL (_id);
00031 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00032 return listPartitions ( );
00033 } finally {
00034 _releaseReply ($in);
00035 }
00036 }
00037
00038 public int[] listCratesInPartition (int partition) throws sctConf.ConfigurationException
00039 {
00040 org.omg.CORBA.portable.InputStream $in = null;
00041 try {
00042 org.omg.CORBA.portable.OutputStream $out = _request ("listCratesInPartition", true);
00043 $out.write_ulong (partition);
00044 $in = _invoke ($out);
00045 int $result[] = sctConf.CrateListHelper.read ($in);
00046 return $result;
00047 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00048 $in = $ex.getInputStream ();
00049 String _id = $ex.getId ();
00050 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00051 throw sctConf.ConfigurationExceptionHelper.read ($in);
00052 else
00053 throw new org.omg.CORBA.MARSHAL (_id);
00054 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00055 return listCratesInPartition (partition );
00056 } finally {
00057 _releaseReply ($in);
00058 }
00059 }
00060
00061 public boolean isDummyCrate (int partition, int crate)
00062 {
00063 org.omg.CORBA.portable.InputStream $in = null;
00064 try {
00065 org.omg.CORBA.portable.OutputStream $out = _request ("isDummyCrate", true);
00066 $out.write_ulong (partition);
00067 $out.write_ulong (crate);
00068 $in = _invoke ($out);
00069 boolean $result = $in.read_boolean ();
00070 return $result;
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 return isDummyCrate (partition, crate );
00077 } finally {
00078 _releaseReply ($in);
00079 }
00080 }
00081
00082 public int[] listRodsInCrate (int partition, int crate) throws sctConf.ConfigurationException
00083 {
00084 org.omg.CORBA.portable.InputStream $in = null;
00085 try {
00086 org.omg.CORBA.portable.OutputStream $out = _request ("listRodsInCrate", true);
00087 $out.write_ulong (partition);
00088 $out.write_ulong (crate);
00089 $in = _invoke ($out);
00090 int $result[] = sctConf.RodListHelper.read ($in);
00091 return $result;
00092 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00093 $in = $ex.getInputStream ();
00094 String _id = $ex.getId ();
00095 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00096 throw sctConf.ConfigurationExceptionHelper.read ($in);
00097 else
00098 throw new org.omg.CORBA.MARSHAL (_id);
00099 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00100 return listRodsInCrate (partition, crate );
00101 } finally {
00102 _releaseReply ($in);
00103 }
00104 }
00105
00106 public int[] listMURSInRod (int partition, int crate, int rod) throws sctConf.ConfigurationException
00107 {
00108 org.omg.CORBA.portable.InputStream $in = null;
00109 try {
00110 org.omg.CORBA.portable.OutputStream $out = _request ("listMURSInRod", true);
00111 $out.write_ulong (partition);
00112 $out.write_ulong (crate);
00113 $out.write_ulong (rod);
00114 $in = _invoke ($out);
00115 int $result[] = sctConf.MURListHelper.read ($in);
00116 return $result;
00117 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00118 $in = $ex.getInputStream ();
00119 String _id = $ex.getId ();
00120 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00121 throw sctConf.ConfigurationExceptionHelper.read ($in);
00122 else
00123 throw new org.omg.CORBA.MARSHAL (_id);
00124 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00125 return listMURSInRod (partition, crate, rod );
00126 } finally {
00127 _releaseReply ($in);
00128 }
00129 }
00130
00131 public String[] listModulesInMUR (int partition, int MUR) throws sctConf.ConfigurationException
00132 {
00133 org.omg.CORBA.portable.InputStream $in = null;
00134 try {
00135 org.omg.CORBA.portable.OutputStream $out = _request ("listModulesInMUR", true);
00136 $out.write_ulong (partition);
00137 $out.write_ulong (MUR);
00138 $in = _invoke ($out);
00139 String $result[] = sctConf.ModuleListHelper.read ($in);
00140 return $result;
00141 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00142 $in = $ex.getInputStream ();
00143 String _id = $ex.getId ();
00144 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00145 throw sctConf.ConfigurationExceptionHelper.read ($in);
00146 else
00147 throw new org.omg.CORBA.MARSHAL (_id);
00148 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00149 return listModulesInMUR (partition, MUR );
00150 } finally {
00151 _releaseReply ($in);
00152 }
00153 }
00154
00155 public String[] listRModulesInMUR (int partition, int MUR) throws sctConf.ConfigurationException
00156 {
00157 org.omg.CORBA.portable.InputStream $in = null;
00158 try {
00159 org.omg.CORBA.portable.OutputStream $out = _request ("listRModulesInMUR", true);
00160 $out.write_ulong (partition);
00161 $out.write_ulong (MUR);
00162 $in = _invoke ($out);
00163 String $result[] = sctConf.ModuleListHelper.read ($in);
00164 return $result;
00165 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00166 $in = $ex.getInputStream ();
00167 String _id = $ex.getId ();
00168 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00169 throw sctConf.ConfigurationExceptionHelper.read ($in);
00170 else
00171 throw new org.omg.CORBA.MARSHAL (_id);
00172 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00173 return listRModulesInMUR (partition, MUR );
00174 } finally {
00175 _releaseReply ($in);
00176 }
00177 }
00178
00179 public String[] listAllModules () throws sctConf.ConfigurationException
00180 {
00181 org.omg.CORBA.portable.InputStream $in = null;
00182 try {
00183 org.omg.CORBA.portable.OutputStream $out = _request ("listAllModules", true);
00184 $in = _invoke ($out);
00185 String $result[] = sctConf.ModuleListHelper.read ($in);
00186 return $result;
00187 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00188 $in = $ex.getInputStream ();
00189 String _id = $ex.getId ();
00190 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00191 throw sctConf.ConfigurationExceptionHelper.read ($in);
00192 else
00193 throw new org.omg.CORBA.MARSHAL (_id);
00194 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00195 return listAllModules ( );
00196 } finally {
00197 _releaseReply ($in);
00198 }
00199 }
00200
00201 public String[] listUnusedModules () throws sctConf.ConfigurationException
00202 {
00203 org.omg.CORBA.portable.InputStream $in = null;
00204 try {
00205 org.omg.CORBA.portable.OutputStream $out = _request ("listUnusedModules", true);
00206 $in = _invoke ($out);
00207 String $result[] = sctConf.ModuleListHelper.read ($in);
00208 return $result;
00209 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00210 $in = $ex.getInputStream ();
00211 String _id = $ex.getId ();
00212 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00213 throw sctConf.ConfigurationExceptionHelper.read ($in);
00214 else
00215 throw new org.omg.CORBA.MARSHAL (_id);
00216 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00217 return listUnusedModules ( );
00218 } finally {
00219 _releaseReply ($in);
00220 }
00221 }
00222
00223 public sctConf.ABCDModule getModuleConfig (String mod) throws sctConf.ConfigurationException
00224 {
00225 org.omg.CORBA.portable.InputStream $in = null;
00226 try {
00227 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleConfig", true);
00228 $out.write_string (mod);
00229 $in = _invoke ($out);
00230 sctConf.ABCDModule $result = sctConf.ABCDModuleHelper.read ($in);
00231 return $result;
00232 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00233 $in = $ex.getInputStream ();
00234 String _id = $ex.getId ();
00235 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00236 throw sctConf.ConfigurationExceptionHelper.read ($in);
00237 else
00238 throw new org.omg.CORBA.MARSHAL (_id);
00239 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00240 return getModuleConfig (mod );
00241 } finally {
00242 _releaseReply ($in);
00243 }
00244 }
00245
00246 public short getModuleGroup (String mod) throws sctConf.ConfigurationException
00247 {
00248 org.omg.CORBA.portable.InputStream $in = null;
00249 try {
00250 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleGroup", true);
00251 $out.write_string (mod);
00252 $in = _invoke ($out);
00253 short $result = $in.read_ushort ();
00254 return $result;
00255 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00256 $in = $ex.getInputStream ();
00257 String _id = $ex.getId ();
00258 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00259 throw sctConf.ConfigurationExceptionHelper.read ($in);
00260 else
00261 throw new org.omg.CORBA.MARSHAL (_id);
00262 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00263 return getModuleGroup (mod );
00264 } finally {
00265 _releaseReply ($in);
00266 }
00267 }
00268
00269 public void setModuleGroup (String mod, short group) throws sctConf.ConfigurationException
00270 {
00271 org.omg.CORBA.portable.InputStream $in = null;
00272 try {
00273 org.omg.CORBA.portable.OutputStream $out = _request ("setModuleGroup", true);
00274 $out.write_string (mod);
00275 $out.write_short (group);
00276 $in = _invoke ($out);
00277 return;
00278 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00279 $in = $ex.getInputStream ();
00280 String _id = $ex.getId ();
00281 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00282 throw sctConf.ConfigurationExceptionHelper.read ($in);
00283 else
00284 throw new org.omg.CORBA.MARSHAL (_id);
00285 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00286 setModuleGroup (mod, group );
00287 } finally {
00288 _releaseReply ($in);
00289 }
00290 }
00291
00292 public sctConf.RodConfig getRodConfig (int partition, int crate, int rod) throws sctConf.ConfigurationException
00293 {
00294 org.omg.CORBA.portable.InputStream $in = null;
00295 try {
00296 org.omg.CORBA.portable.OutputStream $out = _request ("getRodConfig", true);
00297 $out.write_ulong (partition);
00298 $out.write_ulong (crate);
00299 $out.write_ulong (rod);
00300 $in = _invoke ($out);
00301 sctConf.RodConfig $result = sctConf.RodConfigHelper.read ($in);
00302 return $result;
00303 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00304 $in = $ex.getInputStream ();
00305 String _id = $ex.getId ();
00306 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00307 throw sctConf.ConfigurationExceptionHelper.read ($in);
00308 else
00309 throw new org.omg.CORBA.MARSHAL (_id);
00310 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00311 return getRodConfig (partition, crate, rod );
00312 } finally {
00313 _releaseReply ($in);
00314 }
00315 }
00316
00317 public sctConf.SlaveConfig getDefaultSlaveConfig (byte type) throws sctConf.ConfigurationException
00318 {
00319 org.omg.CORBA.portable.InputStream $in = null;
00320 try {
00321 org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultSlaveConfig", true);
00322 $out.write_octet (type);
00323 $in = _invoke ($out);
00324 sctConf.SlaveConfig $result = sctConf.SlaveConfigHelper.read ($in);
00325 return $result;
00326 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00327 $in = $ex.getInputStream ();
00328 String _id = $ex.getId ();
00329 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00330 throw sctConf.ConfigurationExceptionHelper.read ($in);
00331 else
00332 throw new org.omg.CORBA.MARSHAL (_id);
00333 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00334 return getDefaultSlaveConfig (type );
00335 } finally {
00336 _releaseReply ($in);
00337 }
00338 }
00339
00340 public sctConf.TimConfig getTimConfig (int partition, int crate) throws sctConf.ConfigurationException
00341 {
00342 org.omg.CORBA.portable.InputStream $in = null;
00343 try {
00344 org.omg.CORBA.portable.OutputStream $out = _request ("getTimConfig", true);
00345 $out.write_ulong (partition);
00346 $out.write_ulong (crate);
00347 $in = _invoke ($out);
00348 sctConf.TimConfig $result = sctConf.TimConfigHelper.read ($in);
00349 return $result;
00350 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00351 $in = $ex.getInputStream ();
00352 String _id = $ex.getId ();
00353 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00354 throw sctConf.ConfigurationExceptionHelper.read ($in);
00355 else
00356 throw new org.omg.CORBA.MARSHAL (_id);
00357 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00358 return getTimConfig (partition, crate );
00359 } finally {
00360 _releaseReply ($in);
00361 }
00362 }
00363
00364 public byte[] getFibreMappings (int partition, int crate, int rod) throws sctConf.ConfigurationException
00365 {
00366 org.omg.CORBA.portable.InputStream $in = null;
00367 try {
00368 org.omg.CORBA.portable.OutputStream $out = _request ("getFibreMappings", true);
00369 $out.write_ulong (partition);
00370 $out.write_ulong (crate);
00371 $out.write_ulong (rod);
00372 $in = _invoke ($out);
00373 byte $result[] = sctConf.CharBlockHelper.read ($in);
00374 return $result;
00375 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00376 $in = $ex.getInputStream ();
00377 String _id = $ex.getId ();
00378 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00379 throw sctConf.ConfigurationExceptionHelper.read ($in);
00380 else
00381 throw new org.omg.CORBA.MARSHAL (_id);
00382 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00383 return getFibreMappings (partition, crate, rod );
00384 } finally {
00385 _releaseReply ($in);
00386 }
00387 }
00388
00389 public void setFibreMapping (int partition, int crate, int rod, int channel, int tx, int rx0, int rx1) throws sctConf.ConfigurationException
00390 {
00391 org.omg.CORBA.portable.InputStream $in = null;
00392 try {
00393 org.omg.CORBA.portable.OutputStream $out = _request ("setFibreMapping", true);
00394 $out.write_ulong (partition);
00395 $out.write_ulong (crate);
00396 $out.write_ulong (rod);
00397 $out.write_ulong (channel);
00398 $out.write_ulong (tx);
00399 $out.write_ulong (rx0);
00400 $out.write_ulong (rx1);
00401 $in = _invoke ($out);
00402 return;
00403 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00404 $in = $ex.getInputStream ();
00405 String _id = $ex.getId ();
00406 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00407 throw sctConf.ConfigurationExceptionHelper.read ($in);
00408 else
00409 throw new org.omg.CORBA.MARSHAL (_id);
00410 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00411 setFibreMapping (partition, crate, rod, channel, tx, rx0, rx1 );
00412 } finally {
00413 _releaseReply ($in);
00414 }
00415 }
00416
00417 public sctConf.BOCChannelConfig getBOCConfig (int partition, int crate, int rod, int channel) throws sctConf.ConfigurationException
00418 {
00419 org.omg.CORBA.portable.InputStream $in = null;
00420 try {
00421 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCConfig", true);
00422 $out.write_ulong (partition);
00423 $out.write_ulong (crate);
00424 $out.write_ulong (rod);
00425 $out.write_ulong (channel);
00426 $in = _invoke ($out);
00427 sctConf.BOCChannelConfig $result = sctConf.BOCChannelConfigHelper.read ($in);
00428 return $result;
00429 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00430 $in = $ex.getInputStream ();
00431 String _id = $ex.getId ();
00432 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00433 throw sctConf.ConfigurationExceptionHelper.read ($in);
00434 else
00435 throw new org.omg.CORBA.MARSHAL (_id);
00436 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00437 return getBOCConfig (partition, crate, rod, channel );
00438 } finally {
00439 _releaseReply ($in);
00440 }
00441 }
00442
00443 public sctConf.BOCGlobalConfig getBOCGlobalConfig (int partition, int crate, int rod) throws sctConf.ConfigurationException
00444 {
00445 org.omg.CORBA.portable.InputStream $in = null;
00446 try {
00447 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCGlobalConfig", true);
00448 $out.write_ulong (partition);
00449 $out.write_ulong (crate);
00450 $out.write_ulong (rod);
00451 $in = _invoke ($out);
00452 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
00453 return $result;
00454 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00455 $in = $ex.getInputStream ();
00456 String _id = $ex.getId ();
00457 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00458 throw sctConf.ConfigurationExceptionHelper.read ($in);
00459 else
00460 throw new org.omg.CORBA.MARSHAL (_id);
00461 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00462 return getBOCGlobalConfig (partition, crate, rod );
00463 } finally {
00464 _releaseReply ($in);
00465 }
00466 }
00467
00468 public void printModuleConfig (sctConf.ABCDModule conf) throws sctConf.ConfigurationException
00469 {
00470 org.omg.CORBA.portable.InputStream $in = null;
00471 try {
00472 org.omg.CORBA.portable.OutputStream $out = _request ("printModuleConfig", true);
00473 sctConf.ABCDModuleHelper.write ($out, conf);
00474 $in = _invoke ($out);
00475 return;
00476 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00477 $in = $ex.getInputStream ();
00478 String _id = $ex.getId ();
00479 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00480 throw sctConf.ConfigurationExceptionHelper.read ($in);
00481 else
00482 throw new org.omg.CORBA.MARSHAL (_id);
00483 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00484 printModuleConfig (conf );
00485 } finally {
00486 _releaseReply ($in);
00487 }
00488 }
00489
00490 public sctConf.MURType getMURType (int MUR) throws sctConf.ConfigurationException
00491 {
00492 org.omg.CORBA.portable.InputStream $in = null;
00493 try {
00494 org.omg.CORBA.portable.OutputStream $out = _request ("getMURType", true);
00495 $out.write_ulong (MUR);
00496 $in = _invoke ($out);
00497 sctConf.MURType $result = sctConf.MURTypeHelper.read ($in);
00498 return $result;
00499 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00500 $in = $ex.getInputStream ();
00501 String _id = $ex.getId ();
00502 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00503 throw sctConf.ConfigurationExceptionHelper.read ($in);
00504 else
00505 throw new org.omg.CORBA.MARSHAL (_id);
00506 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00507 return getMURType (MUR );
00508 } finally {
00509 _releaseReply ($in);
00510 }
00511 }
00512
00513 public int getFreeMurId () throws sctConf.ConfigurationException
00514 {
00515 org.omg.CORBA.portable.InputStream $in = null;
00516 try {
00517 org.omg.CORBA.portable.OutputStream $out = _request ("getFreeMurId", true);
00518 $in = _invoke ($out);
00519 int $result = $in.read_ulong ();
00520 return $result;
00521 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00522 $in = $ex.getInputStream ();
00523 String _id = $ex.getId ();
00524 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00525 throw sctConf.ConfigurationExceptionHelper.read ($in);
00526 else
00527 throw new org.omg.CORBA.MARSHAL (_id);
00528 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00529 return getFreeMurId ( );
00530 } finally {
00531 _releaseReply ($in);
00532 }
00533 }
00534
00535 public void translateToROD (int MUR, int mod, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder rod, org.omg.CORBA.IntHolder channel) throws sctConf.ConfigurationException
00536 {
00537 org.omg.CORBA.portable.InputStream $in = null;
00538 try {
00539 org.omg.CORBA.portable.OutputStream $out = _request ("translateToROD", true);
00540 $out.write_ulong (MUR);
00541 $out.write_ulong (mod);
00542 $in = _invoke ($out);
00543 partition.value = $in.read_ulong ();
00544 crate.value = $in.read_ulong ();
00545 rod.value = $in.read_ulong ();
00546 channel.value = $in.read_ulong ();
00547 return;
00548 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00549 $in = $ex.getInputStream ();
00550 String _id = $ex.getId ();
00551 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00552 throw sctConf.ConfigurationExceptionHelper.read ($in);
00553 else
00554 throw new org.omg.CORBA.MARSHAL (_id);
00555 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00556 translateToROD (MUR, mod, partition, crate, rod, channel );
00557 } finally {
00558 _releaseReply ($in);
00559 }
00560 }
00561
00562 public void translateToRROD (int MUR, int mod, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder rod, org.omg.CORBA.IntHolder channel) throws sctConf.ConfigurationException
00563 {
00564 org.omg.CORBA.portable.InputStream $in = null;
00565 try {
00566 org.omg.CORBA.portable.OutputStream $out = _request ("translateToRROD", true);
00567 $out.write_ulong (MUR);
00568 $out.write_ulong (mod);
00569 $in = _invoke ($out);
00570 partition.value = $in.read_ulong ();
00571 crate.value = $in.read_ulong ();
00572 rod.value = $in.read_ulong ();
00573 channel.value = $in.read_ulong ();
00574 return;
00575 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00576 $in = $ex.getInputStream ();
00577 String _id = $ex.getId ();
00578 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00579 throw sctConf.ConfigurationExceptionHelper.read ($in);
00580 else
00581 throw new org.omg.CORBA.MARSHAL (_id);
00582 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00583 translateToRROD (MUR, mod, partition, crate, rod, channel );
00584 } finally {
00585 _releaseReply ($in);
00586 }
00587 }
00588
00589 public void translateToSN (int MUR, int mod, org.omg.CORBA.StringHolder sn) throws sctConf.ConfigurationException
00590 {
00591 org.omg.CORBA.portable.InputStream $in = null;
00592 try {
00593 org.omg.CORBA.portable.OutputStream $out = _request ("translateToSN", true);
00594 $out.write_ulong (MUR);
00595 $out.write_ulong (mod);
00596 $in = _invoke ($out);
00597 sn.value = $in.read_string ();
00598 return;
00599 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00600 $in = $ex.getInputStream ();
00601 String _id = $ex.getId ();
00602 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00603 throw sctConf.ConfigurationExceptionHelper.read ($in);
00604 else
00605 throw new org.omg.CORBA.MARSHAL (_id);
00606 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00607 translateToSN (MUR, mod, sn );
00608 } finally {
00609 _releaseReply ($in);
00610 }
00611 }
00612
00613 public void translateToRMUR (int RMUR, int rmod, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00614 {
00615 org.omg.CORBA.portable.InputStream $in = null;
00616 try {
00617 org.omg.CORBA.portable.OutputStream $out = _request ("translateToRMUR", true);
00618 $out.write_ulong (RMUR);
00619 $out.write_ulong (rmod);
00620 $in = _invoke ($out);
00621 MUR.value = $in.read_ulong ();
00622 mod.value = $in.read_ulong ();
00623 return;
00624 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00625 $in = $ex.getInputStream ();
00626 String _id = $ex.getId ();
00627 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00628 throw sctConf.ConfigurationExceptionHelper.read ($in);
00629 else
00630 throw new org.omg.CORBA.MARSHAL (_id);
00631 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00632 translateToRMUR (RMUR, rmod, MUR, mod );
00633 } finally {
00634 _releaseReply ($in);
00635 }
00636 }
00637
00638 public void translateToBarrel (int MUR, int mod, org.omg.CORBA.IntHolder barrel, org.omg.CORBA.IntHolder row, org.omg.CORBA.IntHolder number) throws sctConf.ConfigurationException
00639 {
00640 org.omg.CORBA.portable.InputStream $in = null;
00641 try {
00642 org.omg.CORBA.portable.OutputStream $out = _request ("translateToBarrel", true);
00643 $out.write_ulong (MUR);
00644 $out.write_ulong (mod);
00645 $in = _invoke ($out);
00646 barrel.value = $in.read_ulong ();
00647 row.value = $in.read_ulong ();
00648 number.value = $in.read_long ();
00649 return;
00650 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00651 $in = $ex.getInputStream ();
00652 String _id = $ex.getId ();
00653 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00654 throw sctConf.ConfigurationExceptionHelper.read ($in);
00655 else
00656 throw new org.omg.CORBA.MARSHAL (_id);
00657 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00658 translateToBarrel (MUR, mod, barrel, row, number );
00659 } finally {
00660 _releaseReply ($in);
00661 }
00662 }
00663
00664 public void translateToEndcap (int MUR, int mod, org.omg.CORBA.IntHolder disk, org.omg.CORBA.IntHolder ring, org.omg.CORBA.IntHolder number) throws sctConf.ConfigurationException
00665 {
00666 org.omg.CORBA.portable.InputStream $in = null;
00667 try {
00668 org.omg.CORBA.portable.OutputStream $out = _request ("translateToEndcap", true);
00669 $out.write_ulong (MUR);
00670 $out.write_ulong (mod);
00671 $in = _invoke ($out);
00672 disk.value = $in.read_long ();
00673 ring.value = $in.read_ulong ();
00674 number.value = $in.read_ulong ();
00675 return;
00676 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00677 $in = $ex.getInputStream ();
00678 String _id = $ex.getId ();
00679 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00680 throw sctConf.ConfigurationExceptionHelper.read ($in);
00681 else
00682 throw new org.omg.CORBA.MARSHAL (_id);
00683 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00684 translateToEndcap (MUR, mod, disk, ring, number );
00685 } finally {
00686 _releaseReply ($in);
00687 }
00688 }
00689
00690 public void translateToPowerSupply (int MUR, int mod, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder channel) throws sctConf.ConfigurationException
00691 {
00692 org.omg.CORBA.portable.InputStream $in = null;
00693 try {
00694 org.omg.CORBA.portable.OutputStream $out = _request ("translateToPowerSupply", true);
00695 $out.write_ulong (MUR);
00696 $out.write_ulong (mod);
00697 $in = _invoke ($out);
00698 partition.value = $in.read_ulong ();
00699 crate.value = $in.read_ulong ();
00700 channel.value = $in.read_ulong ();
00701 return;
00702 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00703 $in = $ex.getInputStream ();
00704 String _id = $ex.getId ();
00705 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00706 throw sctConf.ConfigurationExceptionHelper.read ($in);
00707 else
00708 throw new org.omg.CORBA.MARSHAL (_id);
00709 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00710 translateToPowerSupply (MUR, mod, partition, crate, channel );
00711 } finally {
00712 _releaseReply ($in);
00713 }
00714 }
00715
00716 public void translateFromROD (int partition, int crate, int rod, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00717 {
00718 org.omg.CORBA.portable.InputStream $in = null;
00719 try {
00720 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromROD", true);
00721 $out.write_ulong (partition);
00722 $out.write_ulong (crate);
00723 $out.write_ulong (rod);
00724 $out.write_ulong (channel);
00725 $in = _invoke ($out);
00726 MUR.value = $in.read_ulong ();
00727 mod.value = $in.read_ulong ();
00728 return;
00729 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00730 $in = $ex.getInputStream ();
00731 String _id = $ex.getId ();
00732 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00733 throw sctConf.ConfigurationExceptionHelper.read ($in);
00734 else
00735 throw new org.omg.CORBA.MARSHAL (_id);
00736 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00737 translateFromROD (partition, crate, rod, channel, MUR, mod );
00738 } finally {
00739 _releaseReply ($in);
00740 }
00741 }
00742
00743 public void translateFromRROD (int partition, int crate, int rod, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00744 {
00745 org.omg.CORBA.portable.InputStream $in = null;
00746 try {
00747 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromRROD", true);
00748 $out.write_ulong (partition);
00749 $out.write_ulong (crate);
00750 $out.write_ulong (rod);
00751 $out.write_ulong (channel);
00752 $in = _invoke ($out);
00753 MUR.value = $in.read_ulong ();
00754 mod.value = $in.read_ulong ();
00755 return;
00756 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00757 $in = $ex.getInputStream ();
00758 String _id = $ex.getId ();
00759 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00760 throw sctConf.ConfigurationExceptionHelper.read ($in);
00761 else
00762 throw new org.omg.CORBA.MARSHAL (_id);
00763 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00764 translateFromRROD (partition, crate, rod, channel, MUR, mod );
00765 } finally {
00766 _releaseReply ($in);
00767 }
00768 }
00769
00770 public void translateFromSN (String sn, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00771 {
00772 org.omg.CORBA.portable.InputStream $in = null;
00773 try {
00774 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromSN", true);
00775 $out.write_string (sn);
00776 $in = _invoke ($out);
00777 MUR.value = $in.read_ulong ();
00778 mod.value = $in.read_ulong ();
00779 return;
00780 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00781 $in = $ex.getInputStream ();
00782 String _id = $ex.getId ();
00783 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00784 throw sctConf.ConfigurationExceptionHelper.read ($in);
00785 else
00786 throw new org.omg.CORBA.MARSHAL (_id);
00787 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00788 translateFromSN (sn, MUR, mod );
00789 } finally {
00790 _releaseReply ($in);
00791 }
00792 }
00793
00794 public void translateFromRMUR (int MUR, int mod, org.omg.CORBA.IntHolder RMUR, org.omg.CORBA.IntHolder rmod) throws sctConf.ConfigurationException
00795 {
00796 org.omg.CORBA.portable.InputStream $in = null;
00797 try {
00798 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromRMUR", true);
00799 $out.write_ulong (MUR);
00800 $out.write_ulong (mod);
00801 $in = _invoke ($out);
00802 RMUR.value = $in.read_ulong ();
00803 rmod.value = $in.read_ulong ();
00804 return;
00805 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00806 $in = $ex.getInputStream ();
00807 String _id = $ex.getId ();
00808 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00809 throw sctConf.ConfigurationExceptionHelper.read ($in);
00810 else
00811 throw new org.omg.CORBA.MARSHAL (_id);
00812 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00813 translateFromRMUR (MUR, mod, RMUR, rmod );
00814 } finally {
00815 _releaseReply ($in);
00816 }
00817 }
00818
00819 public void translateFromBarrel (int barrel, int row, int number, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00820 {
00821 org.omg.CORBA.portable.InputStream $in = null;
00822 try {
00823 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromBarrel", true);
00824 $out.write_ulong (barrel);
00825 $out.write_ulong (row);
00826 $out.write_long (number);
00827 $in = _invoke ($out);
00828 MUR.value = $in.read_ulong ();
00829 mod.value = $in.read_ulong ();
00830 return;
00831 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00832 $in = $ex.getInputStream ();
00833 String _id = $ex.getId ();
00834 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00835 throw sctConf.ConfigurationExceptionHelper.read ($in);
00836 else
00837 throw new org.omg.CORBA.MARSHAL (_id);
00838 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00839 translateFromBarrel (barrel, row, number, MUR, mod );
00840 } finally {
00841 _releaseReply ($in);
00842 }
00843 }
00844
00845 public void translateFromEndcap (int disk, int ring, int number, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00846 {
00847 org.omg.CORBA.portable.InputStream $in = null;
00848 try {
00849 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromEndcap", true);
00850 $out.write_long (disk);
00851 $out.write_ulong (ring);
00852 $out.write_ulong (number);
00853 $in = _invoke ($out);
00854 MUR.value = $in.read_ulong ();
00855 mod.value = $in.read_ulong ();
00856 return;
00857 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00858 $in = $ex.getInputStream ();
00859 String _id = $ex.getId ();
00860 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00861 throw sctConf.ConfigurationExceptionHelper.read ($in);
00862 else
00863 throw new org.omg.CORBA.MARSHAL (_id);
00864 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00865 translateFromEndcap (disk, ring, number, MUR, mod );
00866 } finally {
00867 _releaseReply ($in);
00868 }
00869 }
00870
00871 public void translateFromPowerSupply (int partition, int crate, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00872 {
00873 org.omg.CORBA.portable.InputStream $in = null;
00874 try {
00875 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromPowerSupply", true);
00876 $out.write_ulong (partition);
00877 $out.write_ulong (crate);
00878 $out.write_ulong (channel);
00879 $in = _invoke ($out);
00880 MUR.value = $in.read_ulong ();
00881 mod.value = $in.read_ulong ();
00882 return;
00883 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00884 $in = $ex.getInputStream ();
00885 String _id = $ex.getId ();
00886 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00887 throw sctConf.ConfigurationExceptionHelper.read ($in);
00888 else
00889 throw new org.omg.CORBA.MARSHAL (_id);
00890 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00891 translateFromPowerSupply (partition, crate, channel, MUR, mod );
00892 } finally {
00893 _releaseReply ($in);
00894 }
00895 }
00896
00897
00898
00899 public void configureModuleFromStructure (String number, sctConf.ABCDModule mConf) throws sctConf.ConfigurationException
00900 {
00901 org.omg.CORBA.portable.InputStream $in = null;
00902 try {
00903 org.omg.CORBA.portable.OutputStream $out = _request ("configureModuleFromStructure", true);
00904 $out.write_string (number);
00905 sctConf.ABCDModuleHelper.write ($out, mConf);
00906 $in = _invoke ($out);
00907 return;
00908 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00909 $in = $ex.getInputStream ();
00910 String _id = $ex.getId ();
00911 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00912 throw sctConf.ConfigurationExceptionHelper.read ($in);
00913 else
00914 throw new org.omg.CORBA.MARSHAL (_id);
00915 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00916 configureModuleFromStructure (number, mConf );
00917 } finally {
00918 _releaseReply ($in);
00919 }
00920 }
00921
00922 public void configureModuleFromFile (String filename) throws sctConf.ConfigurationException
00923 {
00924 org.omg.CORBA.portable.InputStream $in = null;
00925 try {
00926 org.omg.CORBA.portable.OutputStream $out = _request ("configureModuleFromFile", true);
00927 $out.write_string (filename);
00928 $in = _invoke ($out);
00929 return;
00930 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00931 $in = $ex.getInputStream ();
00932 String _id = $ex.getId ();
00933 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00934 throw sctConf.ConfigurationExceptionHelper.read ($in);
00935 else
00936 throw new org.omg.CORBA.MARSHAL (_id);
00937 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00938 configureModuleFromFile (filename );
00939 } finally {
00940 _releaseReply ($in);
00941 }
00942 }
00943
00944 public void configureROD (int partition, int crate, int rod, sctConf.RodConfig conf) throws sctConf.ConfigurationException
00945 {
00946 org.omg.CORBA.portable.InputStream $in = null;
00947 try {
00948 org.omg.CORBA.portable.OutputStream $out = _request ("configureROD", true);
00949 $out.write_ulong (partition);
00950 $out.write_ulong (crate);
00951 $out.write_ulong (rod);
00952 sctConf.RodConfigHelper.write ($out, conf);
00953 $in = _invoke ($out);
00954 return;
00955 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00956 $in = $ex.getInputStream ();
00957 String _id = $ex.getId ();
00958 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00959 throw sctConf.ConfigurationExceptionHelper.read ($in);
00960 else
00961 throw new org.omg.CORBA.MARSHAL (_id);
00962 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00963 configureROD (partition, crate, rod, conf );
00964 } finally {
00965 _releaseReply ($in);
00966 }
00967 }
00968
00969 public void configureTIM (int partition, int crate, sctConf.TimConfig conf) throws sctConf.ConfigurationException
00970 {
00971 org.omg.CORBA.portable.InputStream $in = null;
00972 try {
00973 org.omg.CORBA.portable.OutputStream $out = _request ("configureTIM", true);
00974 $out.write_ulong (partition);
00975 $out.write_ulong (crate);
00976 sctConf.TimConfigHelper.write ($out, conf);
00977 $in = _invoke ($out);
00978 return;
00979 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00980 $in = $ex.getInputStream ();
00981 String _id = $ex.getId ();
00982 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00983 throw sctConf.ConfigurationExceptionHelper.read ($in);
00984 else
00985 throw new org.omg.CORBA.MARSHAL (_id);
00986 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00987 configureTIM (partition, crate, conf );
00988 } finally {
00989 _releaseReply ($in);
00990 }
00991 }
00992
00993 public void configureBOC (int partition, int crate, int rod, sctConf.BOCGlobalConfig conf) throws sctConf.ConfigurationException
00994 {
00995 org.omg.CORBA.portable.InputStream $in = null;
00996 try {
00997 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
00998 $out.write_ulong (partition);
00999 $out.write_ulong (crate);
01000 $out.write_ulong (rod);
01001 sctConf.BOCGlobalConfigHelper.write ($out, conf);
01002 $in = _invoke ($out);
01003 return;
01004 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01005 $in = $ex.getInputStream ();
01006 String _id = $ex.getId ();
01007 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01008 throw sctConf.ConfigurationExceptionHelper.read ($in);
01009 else
01010 throw new org.omg.CORBA.MARSHAL (_id);
01011 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01012 configureBOC (partition, crate, rod, conf );
01013 } finally {
01014 _releaseReply ($in);
01015 }
01016 }
01017
01018 public void clearAll () throws sctConf.ConfigurationException
01019 {
01020 org.omg.CORBA.portable.InputStream $in = null;
01021 try {
01022 org.omg.CORBA.portable.OutputStream $out = _request ("clearAll", true);
01023 $in = _invoke ($out);
01024 return;
01025 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01026 $in = $ex.getInputStream ();
01027 String _id = $ex.getId ();
01028 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01029 throw sctConf.ConfigurationExceptionHelper.read ($in);
01030 else
01031 throw new org.omg.CORBA.MARSHAL (_id);
01032 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01033 clearAll ( );
01034 } finally {
01035 _releaseReply ($in);
01036 }
01037 }
01038
01039 public void namePartition (int partition, String name) throws sctConf.ConfigurationException
01040 {
01041 org.omg.CORBA.portable.InputStream $in = null;
01042 try {
01043 org.omg.CORBA.portable.OutputStream $out = _request ("namePartition", true);
01044 $out.write_ulong (partition);
01045 $out.write_string (name);
01046 $in = _invoke ($out);
01047 return;
01048 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01049 $in = $ex.getInputStream ();
01050 String _id = $ex.getId ();
01051 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01052 throw sctConf.ConfigurationExceptionHelper.read ($in);
01053 else
01054 throw new org.omg.CORBA.MARSHAL (_id);
01055 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01056 namePartition (partition, name );
01057 } finally {
01058 _releaseReply ($in);
01059 }
01060 }
01061
01062 public void mapRODMUR (int partition, int crate, int rod, int order, int number) throws sctConf.ConfigurationException
01063 {
01064 org.omg.CORBA.portable.InputStream $in = null;
01065 try {
01066 org.omg.CORBA.portable.OutputStream $out = _request ("mapRODMUR", true);
01067 $out.write_ulong (partition);
01068 $out.write_ulong (crate);
01069 $out.write_ulong (rod);
01070 $out.write_ulong (order);
01071 $out.write_ulong (number);
01072 $in = _invoke ($out);
01073 return;
01074 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01075 $in = $ex.getInputStream ();
01076 String _id = $ex.getId ();
01077 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01078 throw sctConf.ConfigurationExceptionHelper.read ($in);
01079 else
01080 throw new org.omg.CORBA.MARSHAL (_id);
01081 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01082 mapRODMUR (partition, crate, rod, order, number );
01083 } finally {
01084 _releaseReply ($in);
01085 }
01086 }
01087
01088 public void unmapRODMUR (int MUR) throws sctConf.ConfigurationException
01089 {
01090 org.omg.CORBA.portable.InputStream $in = null;
01091 try {
01092 org.omg.CORBA.portable.OutputStream $out = _request ("unmapRODMUR", true);
01093 $out.write_ulong (MUR);
01094 $in = _invoke ($out);
01095 return;
01096 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01097 $in = $ex.getInputStream ();
01098 String _id = $ex.getId ();
01099 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01100 throw sctConf.ConfigurationExceptionHelper.read ($in);
01101 else
01102 throw new org.omg.CORBA.MARSHAL (_id);
01103 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01104 unmapRODMUR (MUR );
01105 } finally {
01106 _releaseReply ($in);
01107 }
01108 }
01109
01110 public void mapBarrelMUR (int MUR, int barrel, int row, int position) throws sctConf.ConfigurationException
01111 {
01112 org.omg.CORBA.portable.InputStream $in = null;
01113 try {
01114 org.omg.CORBA.portable.OutputStream $out = _request ("mapBarrelMUR", true);
01115 $out.write_ulong (MUR);
01116 $out.write_ulong (barrel);
01117 $out.write_ulong (row);
01118 $out.write_long (position);
01119 $in = _invoke ($out);
01120 return;
01121 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01122 $in = $ex.getInputStream ();
01123 String _id = $ex.getId ();
01124 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01125 throw sctConf.ConfigurationExceptionHelper.read ($in);
01126 else
01127 throw new org.omg.CORBA.MARSHAL (_id);
01128 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01129 mapBarrelMUR (MUR, barrel, row, position );
01130 } finally {
01131 _releaseReply ($in);
01132 }
01133 }
01134
01135 public void unmapBarrelMUR (int MUR) throws sctConf.ConfigurationException
01136 {
01137 org.omg.CORBA.portable.InputStream $in = null;
01138 try {
01139 org.omg.CORBA.portable.OutputStream $out = _request ("unmapBarrelMUR", true);
01140 $out.write_ulong (MUR);
01141 $in = _invoke ($out);
01142 return;
01143 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01144 $in = $ex.getInputStream ();
01145 String _id = $ex.getId ();
01146 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01147 throw sctConf.ConfigurationExceptionHelper.read ($in);
01148 else
01149 throw new org.omg.CORBA.MARSHAL (_id);
01150 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01151 unmapBarrelMUR (MUR );
01152 } finally {
01153 _releaseReply ($in);
01154 }
01155 }
01156
01157 public void mapEndcapMUR (int MUR, int disk, int quadrant, int position) throws sctConf.ConfigurationException
01158 {
01159 org.omg.CORBA.portable.InputStream $in = null;
01160 try {
01161 org.omg.CORBA.portable.OutputStream $out = _request ("mapEndcapMUR", true);
01162 $out.write_ulong (MUR);
01163 $out.write_long (disk);
01164 $out.write_ulong (quadrant);
01165 $out.write_ulong (position);
01166 $in = _invoke ($out);
01167 return;
01168 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01169 $in = $ex.getInputStream ();
01170 String _id = $ex.getId ();
01171 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01172 throw sctConf.ConfigurationExceptionHelper.read ($in);
01173 else
01174 throw new org.omg.CORBA.MARSHAL (_id);
01175 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01176 mapEndcapMUR (MUR, disk, quadrant, position );
01177 } finally {
01178 _releaseReply ($in);
01179 }
01180 }
01181
01182 public void unmapEndcapMUR (int MUR) throws sctConf.ConfigurationException
01183 {
01184 org.omg.CORBA.portable.InputStream $in = null;
01185 try {
01186 org.omg.CORBA.portable.OutputStream $out = _request ("unmapEndcapMUR", true);
01187 $out.write_ulong (MUR);
01188 $in = _invoke ($out);
01189 return;
01190 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01191 $in = $ex.getInputStream ();
01192 String _id = $ex.getId ();
01193 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01194 throw sctConf.ConfigurationExceptionHelper.read ($in);
01195 else
01196 throw new org.omg.CORBA.MARSHAL (_id);
01197 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01198 unmapEndcapMUR (MUR );
01199 } finally {
01200 _releaseReply ($in);
01201 }
01202 }
01203
01204 public void mapPowerChannel (int MUR, int number, int partition, int crate, int channel) throws sctConf.ConfigurationException
01205 {
01206 org.omg.CORBA.portable.InputStream $in = null;
01207 try {
01208 org.omg.CORBA.portable.OutputStream $out = _request ("mapPowerChannel", true);
01209 $out.write_ulong (MUR);
01210 $out.write_ulong (number);
01211 $out.write_ulong (partition);
01212 $out.write_ulong (crate);
01213 $out.write_ulong (channel);
01214 $in = _invoke ($out);
01215 return;
01216 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01217 $in = $ex.getInputStream ();
01218 String _id = $ex.getId ();
01219 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01220 throw sctConf.ConfigurationExceptionHelper.read ($in);
01221 else
01222 throw new org.omg.CORBA.MARSHAL (_id);
01223 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01224 mapPowerChannel (MUR, number, partition, crate, channel );
01225 } finally {
01226 _releaseReply ($in);
01227 }
01228 }
01229
01230 public void unmapPowerChannel (int MUR, int number) throws sctConf.ConfigurationException
01231 {
01232 org.omg.CORBA.portable.InputStream $in = null;
01233 try {
01234 org.omg.CORBA.portable.OutputStream $out = _request ("unmapPowerChannel", true);
01235 $out.write_ulong (MUR);
01236 $out.write_ulong (number);
01237 $in = _invoke ($out);
01238 return;
01239 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01240 $in = $ex.getInputStream ();
01241 String _id = $ex.getId ();
01242 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01243 throw sctConf.ConfigurationExceptionHelper.read ($in);
01244 else
01245 throw new org.omg.CORBA.MARSHAL (_id);
01246 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01247 unmapPowerChannel (MUR, number );
01248 } finally {
01249 _releaseReply ($in);
01250 }
01251 }
01252
01253 public void mapModuleMUR (int MUR, int order, int RMUR, int rorder, String sn) throws sctConf.ConfigurationException
01254 {
01255 org.omg.CORBA.portable.InputStream $in = null;
01256 try {
01257 org.omg.CORBA.portable.OutputStream $out = _request ("mapModuleMUR", true);
01258 $out.write_ulong (MUR);
01259 $out.write_ulong (order);
01260 $out.write_ulong (RMUR);
01261 $out.write_ulong (rorder);
01262 $out.write_string (sn);
01263 $in = _invoke ($out);
01264 return;
01265 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01266 $in = $ex.getInputStream ();
01267 String _id = $ex.getId ();
01268 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01269 throw sctConf.ConfigurationExceptionHelper.read ($in);
01270 else
01271 throw new org.omg.CORBA.MARSHAL (_id);
01272 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01273 mapModuleMUR (MUR, order, RMUR, rorder, sn );
01274 } finally {
01275 _releaseReply ($in);
01276 }
01277 }
01278
01279 public void unmapModuleMUR (int MUR, int order) throws sctConf.ConfigurationException
01280 {
01281 org.omg.CORBA.portable.InputStream $in = null;
01282 try {
01283 org.omg.CORBA.portable.OutputStream $out = _request ("unmapModuleMUR", true);
01284 $out.write_ulong (MUR);
01285 $out.write_ulong (order);
01286 $in = _invoke ($out);
01287 return;
01288 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01289 $in = $ex.getInputStream ();
01290 String _id = $ex.getId ();
01291 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01292 throw sctConf.ConfigurationExceptionHelper.read ($in);
01293 else
01294 throw new org.omg.CORBA.MARSHAL (_id);
01295 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01296 unmapModuleMUR (MUR, order );
01297 } finally {
01298 _releaseReply ($in);
01299 }
01300 }
01301
01302 public void getMapMURROD (int MUR, org.omg.CORBA.IntHolder partition, org.omg.CORBA.IntHolder crate, org.omg.CORBA.IntHolder rod, org.omg.CORBA.IntHolder order) throws sctConf.ConfigurationException
01303 {
01304 org.omg.CORBA.portable.InputStream $in = null;
01305 try {
01306 org.omg.CORBA.portable.OutputStream $out = _request ("getMapMURROD", true);
01307 $out.write_ulong (MUR);
01308 $in = _invoke ($out);
01309 partition.value = $in.read_ulong ();
01310 crate.value = $in.read_ulong ();
01311 rod.value = $in.read_ulong ();
01312 order.value = $in.read_ulong ();
01313 return;
01314 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01315 $in = $ex.getInputStream ();
01316 String _id = $ex.getId ();
01317 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01318 throw sctConf.ConfigurationExceptionHelper.read ($in);
01319 else
01320 throw new org.omg.CORBA.MARSHAL (_id);
01321 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01322 getMapMURROD (MUR, partition, crate, rod, order );
01323 } finally {
01324 _releaseReply ($in);
01325 }
01326 }
01327
01328 public void getMapRODMUR (int partition, int crate, int rod, int order, org.omg.CORBA.IntHolder MUR) throws sctConf.ConfigurationException
01329 {
01330 org.omg.CORBA.portable.InputStream $in = null;
01331 try {
01332 org.omg.CORBA.portable.OutputStream $out = _request ("getMapRODMUR", true);
01333 $out.write_ulong (partition);
01334 $out.write_ulong (crate);
01335 $out.write_ulong (rod);
01336 $out.write_ulong (order);
01337 $in = _invoke ($out);
01338 MUR.value = $in.read_ulong ();
01339 return;
01340 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01341 $in = $ex.getInputStream ();
01342 String _id = $ex.getId ();
01343 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01344 throw sctConf.ConfigurationExceptionHelper.read ($in);
01345 else
01346 throw new org.omg.CORBA.MARSHAL (_id);
01347 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01348 getMapRODMUR (partition, crate, rod, order, MUR );
01349 } finally {
01350 _releaseReply ($in);
01351 }
01352 }
01353
01354 public sctConf.MURType getMapMURPhysical (int MUR, org.omg.CORBA.IntHolder plane, org.omg.CORBA.IntHolder section, org.omg.CORBA.IntHolder position) throws sctConf.ConfigurationException
01355 {
01356 org.omg.CORBA.portable.InputStream $in = null;
01357 try {
01358 org.omg.CORBA.portable.OutputStream $out = _request ("getMapMURPhysical", true);
01359 $out.write_ulong (MUR);
01360 $in = _invoke ($out);
01361 sctConf.MURType $result = sctConf.MURTypeHelper.read ($in);
01362 plane.value = $in.read_ulong ();
01363 section.value = $in.read_ulong ();
01364 position.value = $in.read_ulong ();
01365 return $result;
01366 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01367 $in = $ex.getInputStream ();
01368 String _id = $ex.getId ();
01369 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01370 throw sctConf.ConfigurationExceptionHelper.read ($in);
01371 else
01372 throw new org.omg.CORBA.MARSHAL (_id);
01373 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01374 return getMapMURPhysical (MUR, plane, section, position );
01375 } finally {
01376 _releaseReply ($in);
01377 }
01378 }
01379
01380 public void swapMURNames (int MUR1, int MUR2) throws sctConf.ConfigurationException
01381 {
01382 org.omg.CORBA.portable.InputStream $in = null;
01383 try {
01384 org.omg.CORBA.portable.OutputStream $out = _request ("swapMURNames", true);
01385 $out.write_ulong (MUR1);
01386 $out.write_ulong (MUR2);
01387 $in = _invoke ($out);
01388 return;
01389 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01390 $in = $ex.getInputStream ();
01391 String _id = $ex.getId ();
01392 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01393 throw sctConf.ConfigurationExceptionHelper.read ($in);
01394 else
01395 throw new org.omg.CORBA.MARSHAL (_id);
01396 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01397 swapMURNames (MUR1, MUR2 );
01398 } finally {
01399 _releaseReply ($in);
01400 }
01401 }
01402
01403 public void modifyDefaultPowerParam (String state, String name, String type, float value) throws sctConf.ConfigurationException
01404 {
01405 org.omg.CORBA.portable.InputStream $in = null;
01406 try {
01407 org.omg.CORBA.portable.OutputStream $out = _request ("modifyDefaultPowerParam", true);
01408 $out.write_string (state);
01409 $out.write_string (name);
01410 $out.write_string (type);
01411 $out.write_float (value);
01412 $in = _invoke ($out);
01413 return;
01414 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01415 $in = $ex.getInputStream ();
01416 String _id = $ex.getId ();
01417 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01418 throw sctConf.ConfigurationExceptionHelper.read ($in);
01419 else
01420 throw new org.omg.CORBA.MARSHAL (_id);
01421 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01422 modifyDefaultPowerParam (state, name, type, value );
01423 } finally {
01424 _releaseReply ($in);
01425 }
01426 }
01427
01428 public void modifyHVCardParam (int crate, int card, String name, String type, float value) throws sctConf.ConfigurationException
01429 {
01430 org.omg.CORBA.portable.InputStream $in = null;
01431 try {
01432 org.omg.CORBA.portable.OutputStream $out = _request ("modifyHVCardParam", true);
01433 $out.write_ulong (crate);
01434 $out.write_ulong (card);
01435 $out.write_string (name);
01436 $out.write_string (type);
01437 $out.write_float (value);
01438 $in = _invoke ($out);
01439 return;
01440 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01441 $in = $ex.getInputStream ();
01442 String _id = $ex.getId ();
01443 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01444 throw sctConf.ConfigurationExceptionHelper.read ($in);
01445 else
01446 throw new org.omg.CORBA.MARSHAL (_id);
01447 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01448 modifyHVCardParam (crate, card, name, type, value );
01449 } finally {
01450 _releaseReply ($in);
01451 }
01452 }
01453
01454 public void modifyLVCardParam (int crate, int card, String name, String type, float value) throws sctConf.ConfigurationException
01455 {
01456 org.omg.CORBA.portable.InputStream $in = null;
01457 try {
01458 org.omg.CORBA.portable.OutputStream $out = _request ("modifyLVCardParam", true);
01459 $out.write_ulong (crate);
01460 $out.write_ulong (card);
01461 $out.write_string (name);
01462 $out.write_string (type);
01463 $out.write_float (value);
01464 $in = _invoke ($out);
01465 return;
01466 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01467 $in = $ex.getInputStream ();
01468 String _id = $ex.getId ();
01469 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01470 throw sctConf.ConfigurationExceptionHelper.read ($in);
01471 else
01472 throw new org.omg.CORBA.MARSHAL (_id);
01473 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01474 modifyLVCardParam (crate, card, name, type, value );
01475 } finally {
01476 _releaseReply ($in);
01477 }
01478 }
01479
01480 public void modifyPowerParam (int MUR, int number, String state, String name, String type, float value) throws sctConf.ConfigurationException
01481 {
01482 org.omg.CORBA.portable.InputStream $in = null;
01483 try {
01484 org.omg.CORBA.portable.OutputStream $out = _request ("modifyPowerParam", true);
01485 $out.write_ulong (MUR);
01486 $out.write_ulong (number);
01487 $out.write_string (state);
01488 $out.write_string (name);
01489 $out.write_string (type);
01490 $out.write_float (value);
01491 $in = _invoke ($out);
01492 return;
01493 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01494 $in = $ex.getInputStream ();
01495 String _id = $ex.getId ();
01496 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01497 throw sctConf.ConfigurationExceptionHelper.read ($in);
01498 else
01499 throw new org.omg.CORBA.MARSHAL (_id);
01500 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01501 modifyPowerParam (MUR, number, state, name, type, value );
01502 } finally {
01503 _releaseReply ($in);
01504 }
01505 }
01506
01507 public void modifyPowerParamCC (int crate, int channel, String state, String name, String type, float value) throws sctConf.ConfigurationException
01508 {
01509 org.omg.CORBA.portable.InputStream $in = null;
01510 try {
01511 org.omg.CORBA.portable.OutputStream $out = _request ("modifyPowerParamCC", true);
01512 $out.write_ulong (crate);
01513 $out.write_ulong (channel);
01514 $out.write_string (state);
01515 $out.write_string (name);
01516 $out.write_string (type);
01517 $out.write_float (value);
01518 $in = _invoke ($out);
01519 return;
01520 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01521 $in = $ex.getInputStream ();
01522 String _id = $ex.getId ();
01523 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01524 throw sctConf.ConfigurationExceptionHelper.read ($in);
01525 else
01526 throw new org.omg.CORBA.MARSHAL (_id);
01527 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01528 modifyPowerParamCC (crate, channel, state, name, type, value );
01529 } finally {
01530 _releaseReply ($in);
01531 }
01532 }
01533
01534 public float getDefaultPowerParam (String state, String name, String type) throws sctConf.ConfigurationException
01535 {
01536 org.omg.CORBA.portable.InputStream $in = null;
01537 try {
01538 org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultPowerParam", true);
01539 $out.write_string (state);
01540 $out.write_string (name);
01541 $out.write_string (type);
01542 $in = _invoke ($out);
01543 float $result = $in.read_float ();
01544 return $result;
01545 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01546 $in = $ex.getInputStream ();
01547 String _id = $ex.getId ();
01548 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01549 throw sctConf.ConfigurationExceptionHelper.read ($in);
01550 else
01551 throw new org.omg.CORBA.MARSHAL (_id);
01552 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01553 return getDefaultPowerParam (state, name, type );
01554 } finally {
01555 _releaseReply ($in);
01556 }
01557 }
01558
01559 public float getHVCardParam (int crate, int card, String name, String type) throws sctConf.ConfigurationException
01560 {
01561 org.omg.CORBA.portable.InputStream $in = null;
01562 try {
01563 org.omg.CORBA.portable.OutputStream $out = _request ("getHVCardParam", true);
01564 $out.write_ulong (crate);
01565 $out.write_ulong (card);
01566 $out.write_string (name);
01567 $out.write_string (type);
01568 $in = _invoke ($out);
01569 float $result = $in.read_float ();
01570 return $result;
01571 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01572 $in = $ex.getInputStream ();
01573 String _id = $ex.getId ();
01574 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01575 throw sctConf.ConfigurationExceptionHelper.read ($in);
01576 else
01577 throw new org.omg.CORBA.MARSHAL (_id);
01578 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01579 return getHVCardParam (crate, card, name, type );
01580 } finally {
01581 _releaseReply ($in);
01582 }
01583 }
01584
01585 public float getLVCardParam (int crate, int card, String name, String type) throws sctConf.ConfigurationException
01586 {
01587 org.omg.CORBA.portable.InputStream $in = null;
01588 try {
01589 org.omg.CORBA.portable.OutputStream $out = _request ("getLVCardParam", true);
01590 $out.write_ulong (crate);
01591 $out.write_ulong (card);
01592 $out.write_string (name);
01593 $out.write_string (type);
01594 $in = _invoke ($out);
01595 float $result = $in.read_float ();
01596 return $result;
01597 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01598 $in = $ex.getInputStream ();
01599 String _id = $ex.getId ();
01600 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01601 throw sctConf.ConfigurationExceptionHelper.read ($in);
01602 else
01603 throw new org.omg.CORBA.MARSHAL (_id);
01604 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01605 return getLVCardParam (crate, card, name, type );
01606 } finally {
01607 _releaseReply ($in);
01608 }
01609 }
01610
01611 public float getPowerParam (int MUR, int number, String state, String name, String type) throws sctConf.ConfigurationException
01612 {
01613 org.omg.CORBA.portable.InputStream $in = null;
01614 try {
01615 org.omg.CORBA.portable.OutputStream $out = _request ("getPowerParam", true);
01616 $out.write_ulong (MUR);
01617 $out.write_ulong (number);
01618 $out.write_string (state);
01619 $out.write_string (name);
01620 $out.write_string (type);
01621 $in = _invoke ($out);
01622 float $result = $in.read_float ();
01623 return $result;
01624 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01625 $in = $ex.getInputStream ();
01626 String _id = $ex.getId ();
01627 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01628 throw sctConf.ConfigurationExceptionHelper.read ($in);
01629 else
01630 throw new org.omg.CORBA.MARSHAL (_id);
01631 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01632 return getPowerParam (MUR, number, state, name, type );
01633 } finally {
01634 _releaseReply ($in);
01635 }
01636 }
01637
01638 public float getPowerParamCC (int crate, int channel, String state, String name, String type) throws sctConf.ConfigurationException
01639 {
01640 org.omg.CORBA.portable.InputStream $in = null;
01641 try {
01642 org.omg.CORBA.portable.OutputStream $out = _request ("getPowerParamCC", true);
01643 $out.write_ulong (crate);
01644 $out.write_ulong (channel);
01645 $out.write_string (state);
01646 $out.write_string (name);
01647 $out.write_string (type);
01648 $in = _invoke ($out);
01649 float $result = $in.read_float ();
01650 return $result;
01651 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01652 $in = $ex.getInputStream ();
01653 String _id = $ex.getId ();
01654 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01655 throw sctConf.ConfigurationExceptionHelper.read ($in);
01656 else
01657 throw new org.omg.CORBA.MARSHAL (_id);
01658 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01659 return getPowerParamCC (crate, channel, state, name, type );
01660 } finally {
01661 _releaseReply ($in);
01662 }
01663 }
01664
01665 public String[] listDefaultPowerParams () throws sctConf.ConfigurationException
01666 {
01667 org.omg.CORBA.portable.InputStream $in = null;
01668 try {
01669 org.omg.CORBA.portable.OutputStream $out = _request ("listDefaultPowerParams", true);
01670 $in = _invoke ($out);
01671 String $result[] = sctConf.NameListHelper.read ($in);
01672 return $result;
01673 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01674 $in = $ex.getInputStream ();
01675 String _id = $ex.getId ();
01676 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01677 throw sctConf.ConfigurationExceptionHelper.read ($in);
01678 else
01679 throw new org.omg.CORBA.MARSHAL (_id);
01680 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01681 return listDefaultPowerParams ( );
01682 } finally {
01683 _releaseReply ($in);
01684 }
01685 }
01686
01687 public float getCratePowerParam (int crate, String name) throws sctConf.ConfigurationException
01688 {
01689 org.omg.CORBA.portable.InputStream $in = null;
01690 try {
01691 org.omg.CORBA.portable.OutputStream $out = _request ("getCratePowerParam", true);
01692 $out.write_ulong (crate);
01693 $out.write_string (name);
01694 $in = _invoke ($out);
01695 float $result = $in.read_float ();
01696 return $result;
01697 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01698 $in = $ex.getInputStream ();
01699 String _id = $ex.getId ();
01700 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01701 throw sctConf.ConfigurationExceptionHelper.read ($in);
01702 else
01703 throw new org.omg.CORBA.MARSHAL (_id);
01704 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01705 return getCratePowerParam (crate, name );
01706 } finally {
01707 _releaseReply ($in);
01708 }
01709 }
01710
01711 public String[] listDCSChannelParams () throws sctConf.ConfigurationException
01712 {
01713 org.omg.CORBA.portable.InputStream $in = null;
01714 try {
01715 org.omg.CORBA.portable.OutputStream $out = _request ("listDCSChannelParams", true);
01716 $in = _invoke ($out);
01717 String $result[] = sctConf.NameListHelper.read ($in);
01718 return $result;
01719 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01720 $in = $ex.getInputStream ();
01721 String _id = $ex.getId ();
01722 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01723 throw sctConf.ConfigurationExceptionHelper.read ($in);
01724 else
01725 throw new org.omg.CORBA.MARSHAL (_id);
01726 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01727 return listDCSChannelParams ( );
01728 } finally {
01729 _releaseReply ($in);
01730 }
01731 }
01732
01733 public String[] listDCSCardParams () throws sctConf.ConfigurationException
01734 {
01735 org.omg.CORBA.portable.InputStream $in = null;
01736 try {
01737 org.omg.CORBA.portable.OutputStream $out = _request ("listDCSCardParams", true);
01738 $in = _invoke ($out);
01739 String $result[] = sctConf.NameListHelper.read ($in);
01740 return $result;
01741 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01742 $in = $ex.getInputStream ();
01743 String _id = $ex.getId ();
01744 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01745 throw sctConf.ConfigurationExceptionHelper.read ($in);
01746 else
01747 throw new org.omg.CORBA.MARSHAL (_id);
01748 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01749 return listDCSCardParams ( );
01750 } finally {
01751 _releaseReply ($in);
01752 }
01753 }
01754
01755 public String[] listDCSCrateParams () throws sctConf.ConfigurationException
01756 {
01757 org.omg.CORBA.portable.InputStream $in = null;
01758 try {
01759 org.omg.CORBA.portable.OutputStream $out = _request ("listDCSCrateParams", true);
01760 $in = _invoke ($out);
01761 String $result[] = sctConf.NameListHelper.read ($in);
01762 return $result;
01763 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01764 $in = $ex.getInputStream ();
01765 String _id = $ex.getId ();
01766 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01767 throw sctConf.ConfigurationExceptionHelper.read ($in);
01768 else
01769 throw new org.omg.CORBA.MARSHAL (_id);
01770 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01771 return listDCSCrateParams ( );
01772 } finally {
01773 _releaseReply ($in);
01774 }
01775 }
01776
01777 public void configureBOCChannel (int MUR, int position, sctConf.BOCChannelConfig conf) throws sctConf.ConfigurationException
01778 {
01779 org.omg.CORBA.portable.InputStream $in = null;
01780 try {
01781 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOCChannel", true);
01782 $out.write_ulong (MUR);
01783 $out.write_ulong (position);
01784 sctConf.BOCChannelConfigHelper.write ($out, conf);
01785 $in = _invoke ($out);
01786 return;
01787 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01788 $in = $ex.getInputStream ();
01789 String _id = $ex.getId ();
01790 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01791 throw sctConf.ConfigurationExceptionHelper.read ($in);
01792 else
01793 throw new org.omg.CORBA.MARSHAL (_id);
01794 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01795 configureBOCChannel (MUR, position, conf );
01796 } finally {
01797 _releaseReply ($in);
01798 }
01799 }
01800
01801 public void loadConfiguration (String filename) throws sctConf.ConfigurationException
01802 {
01803 org.omg.CORBA.portable.InputStream $in = null;
01804 try {
01805 org.omg.CORBA.portable.OutputStream $out = _request ("loadConfiguration", true);
01806 $out.write_string (filename);
01807 $in = _invoke ($out);
01808 return;
01809 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01810 $in = $ex.getInputStream ();
01811 String _id = $ex.getId ();
01812 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01813 throw sctConf.ConfigurationExceptionHelper.read ($in);
01814 else
01815 throw new org.omg.CORBA.MARSHAL (_id);
01816 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01817 loadConfiguration (filename );
01818 } finally {
01819 _releaseReply ($in);
01820 }
01821 }
01822
01823 public void saveConfiguration (String filename) throws sctConf.ConfigurationException
01824 {
01825 org.omg.CORBA.portable.InputStream $in = null;
01826 try {
01827 org.omg.CORBA.portable.OutputStream $out = _request ("saveConfiguration", true);
01828 $out.write_string (filename);
01829 $in = _invoke ($out);
01830 return;
01831 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01832 $in = $ex.getInputStream ();
01833 String _id = $ex.getId ();
01834 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01835 throw sctConf.ConfigurationExceptionHelper.read ($in);
01836 else
01837 throw new org.omg.CORBA.MARSHAL (_id);
01838 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01839 saveConfiguration (filename );
01840 } finally {
01841 _releaseReply ($in);
01842 }
01843 }
01844
01845 public void saveModuleConfiguration (String sn, String filename) throws sctConf.ConfigurationException
01846 {
01847 org.omg.CORBA.portable.InputStream $in = null;
01848 try {
01849 org.omg.CORBA.portable.OutputStream $out = _request ("saveModuleConfiguration", true);
01850 $out.write_string (sn);
01851 $out.write_string (filename);
01852 $in = _invoke ($out);
01853 return;
01854 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01855 $in = $ex.getInputStream ();
01856 String _id = $ex.getId ();
01857 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01858 throw sctConf.ConfigurationExceptionHelper.read ($in);
01859 else
01860 throw new org.omg.CORBA.MARSHAL (_id);
01861 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01862 saveModuleConfiguration (sn, filename );
01863 } finally {
01864 _releaseReply ($in);
01865 }
01866 }
01867
01868 public String getModuleConfigurationString (String modsn, sctConf.ABCDModule config) throws sctConf.ConfigurationException
01869 {
01870 org.omg.CORBA.portable.InputStream $in = null;
01871 try {
01872 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleConfigurationString", true);
01873 $out.write_string (modsn);
01874 sctConf.ABCDModuleHelper.write ($out, config);
01875 $in = _invoke ($out);
01876 String $result = $in.read_string ();
01877 return $result;
01878 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01879 $in = $ex.getInputStream ();
01880 String _id = $ex.getId ();
01881 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01882 throw sctConf.ConfigurationExceptionHelper.read ($in);
01883 else
01884 throw new org.omg.CORBA.MARSHAL (_id);
01885 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01886 return getModuleConfigurationString (modsn, config );
01887 } finally {
01888 _releaseReply ($in);
01889 }
01890 }
01891
01892 public void writePowerSupplyConfiguration (String directory) throws sctConf.ConfigurationException
01893 {
01894 org.omg.CORBA.portable.InputStream $in = null;
01895 try {
01896 org.omg.CORBA.portable.OutputStream $out = _request ("writePowerSupplyConfiguration", true);
01897 $out.write_string (directory);
01898 $in = _invoke ($out);
01899 return;
01900 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01901 $in = $ex.getInputStream ();
01902 String _id = $ex.getId ();
01903 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01904 throw sctConf.ConfigurationExceptionHelper.read ($in);
01905 else
01906 throw new org.omg.CORBA.MARSHAL (_id);
01907 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01908 writePowerSupplyConfiguration (directory );
01909 } finally {
01910 _releaseReply ($in);
01911 }
01912 }
01913
01914 public void get_info (ipc.InfoHolder inf)
01915 {
01916 org.omg.CORBA.portable.InputStream $in = null;
01917 try {
01918 org.omg.CORBA.portable.OutputStream $out = _request ("get_info", true);
01919 $in = _invoke ($out);
01920 inf.value = ipc.InfoHelper.read ($in);
01921 return;
01922 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01923 $in = $ex.getInputStream ();
01924 String _id = $ex.getId ();
01925 throw new org.omg.CORBA.MARSHAL (_id);
01926 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01927 get_info (inf );
01928 } finally {
01929 _releaseReply ($in);
01930 }
01931 }
01932
01933 public void destroy ()
01934 {
01935 org.omg.CORBA.portable.InputStream $in = null;
01936 try {
01937 org.omg.CORBA.portable.OutputStream $out = _request ("destroy", false);
01938 $in = _invoke ($out);
01939 return;
01940 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01941 $in = $ex.getInputStream ();
01942 String _id = $ex.getId ();
01943 throw new org.omg.CORBA.MARSHAL (_id);
01944 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01945 destroy ( );
01946 } finally {
01947 _releaseReply ($in);
01948 }
01949 }
01950
01951
01952 private static String[] __ids = {
01953 "IDL:sctConf/Configuration:1.0",
01954 "IDL:ipc/freeable:1.0"};
01955
01956 public String[] _ids ()
01957 {
01958 return (String[])__ids.clone ();
01959 }
01960
01961 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
01962 {
01963 String str = s.readUTF ();
01964 String[] args = null;
01965 java.util.Properties props = null;
01966 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
01967 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
01968 _set_delegate (delegate);
01969 }
01970
01971 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
01972 {
01973 String[] args = null;
01974 java.util.Properties props = null;
01975 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
01976 s.writeUTF (str);
01977 }
01978 }