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 int getModuleErrorMask (int partition, int crate, int rod, int channel, short link) throws sctConf.ConfigurationException
00293 {
00294 org.omg.CORBA.portable.InputStream $in = null;
00295 try {
00296 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleErrorMask", true);
00297 $out.write_ulong (partition);
00298 $out.write_ulong (crate);
00299 $out.write_ulong (rod);
00300 $out.write_ulong (channel);
00301 $out.write_ushort (link);
00302 $in = _invoke ($out);
00303 int $result = $in.read_ulong ();
00304 return $result;
00305 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00306 $in = $ex.getInputStream ();
00307 String _id = $ex.getId ();
00308 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00309 throw sctConf.ConfigurationExceptionHelper.read ($in);
00310 else
00311 throw new org.omg.CORBA.MARSHAL (_id);
00312 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00313 return getModuleErrorMask (partition, crate, rod, channel, link );
00314 } finally {
00315 _releaseReply ($in);
00316 }
00317 }
00318
00319 public void setModuleErrorMask (int partition, int crate, int rod, int channel, short link, int mask) throws sctConf.ConfigurationException
00320 {
00321 org.omg.CORBA.portable.InputStream $in = null;
00322 try {
00323 org.omg.CORBA.portable.OutputStream $out = _request ("setModuleErrorMask", true);
00324 $out.write_ulong (partition);
00325 $out.write_ulong (crate);
00326 $out.write_ulong (rod);
00327 $out.write_ulong (channel);
00328 $out.write_ushort (link);
00329 $out.write_ulong (mask);
00330 $in = _invoke ($out);
00331 return;
00332 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00333 $in = $ex.getInputStream ();
00334 String _id = $ex.getId ();
00335 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00336 throw sctConf.ConfigurationExceptionHelper.read ($in);
00337 else
00338 throw new org.omg.CORBA.MARSHAL (_id);
00339 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00340 setModuleErrorMask (partition, crate, rod, channel, link, mask );
00341 } finally {
00342 _releaseReply ($in);
00343 }
00344 }
00345
00346 public void setDefaultModuleErrorMask (int mask) throws sctConf.ConfigurationException
00347 {
00348 org.omg.CORBA.portable.InputStream $in = null;
00349 try {
00350 org.omg.CORBA.portable.OutputStream $out = _request ("setDefaultModuleErrorMask", true);
00351 $out.write_ulong (mask);
00352 $in = _invoke ($out);
00353 return;
00354 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00355 $in = $ex.getInputStream ();
00356 String _id = $ex.getId ();
00357 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00358 throw sctConf.ConfigurationExceptionHelper.read ($in);
00359 else
00360 throw new org.omg.CORBA.MARSHAL (_id);
00361 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00362 setDefaultModuleErrorMask (mask );
00363 } finally {
00364 _releaseReply ($in);
00365 }
00366 }
00367
00368 public sctConf.RodConfig getRodConfig (int partition, int crate, int rod) throws sctConf.ConfigurationException
00369 {
00370 org.omg.CORBA.portable.InputStream $in = null;
00371 try {
00372 org.omg.CORBA.portable.OutputStream $out = _request ("getRodConfig", true);
00373 $out.write_ulong (partition);
00374 $out.write_ulong (crate);
00375 $out.write_ulong (rod);
00376 $in = _invoke ($out);
00377 sctConf.RodConfig $result = sctConf.RodConfigHelper.read ($in);
00378 return $result;
00379 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00380 $in = $ex.getInputStream ();
00381 String _id = $ex.getId ();
00382 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00383 throw sctConf.ConfigurationExceptionHelper.read ($in);
00384 else
00385 throw new org.omg.CORBA.MARSHAL (_id);
00386 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00387 return getRodConfig (partition, crate, rod );
00388 } finally {
00389 _releaseReply ($in);
00390 }
00391 }
00392
00393 public sctConf.SlaveConfig getDefaultSlaveConfig (byte type) throws sctConf.ConfigurationException
00394 {
00395 org.omg.CORBA.portable.InputStream $in = null;
00396 try {
00397 org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultSlaveConfig", true);
00398 $out.write_octet (type);
00399 $in = _invoke ($out);
00400 sctConf.SlaveConfig $result = sctConf.SlaveConfigHelper.read ($in);
00401 return $result;
00402 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00403 $in = $ex.getInputStream ();
00404 String _id = $ex.getId ();
00405 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00406 throw sctConf.ConfigurationExceptionHelper.read ($in);
00407 else
00408 throw new org.omg.CORBA.MARSHAL (_id);
00409 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00410 return getDefaultSlaveConfig (type );
00411 } finally {
00412 _releaseReply ($in);
00413 }
00414 }
00415
00416 public sctConf.TimConfig getTimConfig (int partition, int crate) throws sctConf.ConfigurationException
00417 {
00418 org.omg.CORBA.portable.InputStream $in = null;
00419 try {
00420 org.omg.CORBA.portable.OutputStream $out = _request ("getTimConfig", true);
00421 $out.write_ulong (partition);
00422 $out.write_ulong (crate);
00423 $in = _invoke ($out);
00424 sctConf.TimConfig $result = sctConf.TimConfigHelper.read ($in);
00425 return $result;
00426 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00427 $in = $ex.getInputStream ();
00428 String _id = $ex.getId ();
00429 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00430 throw sctConf.ConfigurationExceptionHelper.read ($in);
00431 else
00432 throw new org.omg.CORBA.MARSHAL (_id);
00433 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00434 return getTimConfig (partition, crate );
00435 } finally {
00436 _releaseReply ($in);
00437 }
00438 }
00439
00440
00441
00442 public byte[] getFibreMappings (int partition, int crate, int rod) throws sctConf.ConfigurationException
00443 {
00444 org.omg.CORBA.portable.InputStream $in = null;
00445 try {
00446 org.omg.CORBA.portable.OutputStream $out = _request ("getFibreMappings", true);
00447 $out.write_ulong (partition);
00448 $out.write_ulong (crate);
00449 $out.write_ulong (rod);
00450 $in = _invoke ($out);
00451 byte $result[] = sctConf.CharBlockHelper.read ($in);
00452 return $result;
00453 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00454 $in = $ex.getInputStream ();
00455 String _id = $ex.getId ();
00456 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00457 throw sctConf.ConfigurationExceptionHelper.read ($in);
00458 else
00459 throw new org.omg.CORBA.MARSHAL (_id);
00460 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00461 return getFibreMappings (partition, crate, rod );
00462 } finally {
00463 _releaseReply ($in);
00464 }
00465 }
00466
00467 public void setFibreMapping (int partition, int crate, int rod, int channel, int tx, int rx0, int rx1) throws sctConf.ConfigurationException
00468 {
00469 org.omg.CORBA.portable.InputStream $in = null;
00470 try {
00471 org.omg.CORBA.portable.OutputStream $out = _request ("setFibreMapping", true);
00472 $out.write_ulong (partition);
00473 $out.write_ulong (crate);
00474 $out.write_ulong (rod);
00475 $out.write_ulong (channel);
00476 $out.write_ulong (tx);
00477 $out.write_ulong (rx0);
00478 $out.write_ulong (rx1);
00479 $in = _invoke ($out);
00480 return;
00481 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00482 $in = $ex.getInputStream ();
00483 String _id = $ex.getId ();
00484 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00485 throw sctConf.ConfigurationExceptionHelper.read ($in);
00486 else
00487 throw new org.omg.CORBA.MARSHAL (_id);
00488 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00489 setFibreMapping (partition, crate, rod, channel, tx, rx0, rx1 );
00490 } finally {
00491 _releaseReply ($in);
00492 }
00493 }
00494
00495 public sctConf.BOCChannelConfig getBOCConfig (int partition, int crate, int rod, int channel) throws sctConf.ConfigurationException
00496 {
00497 org.omg.CORBA.portable.InputStream $in = null;
00498 try {
00499 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCConfig", true);
00500 $out.write_ulong (partition);
00501 $out.write_ulong (crate);
00502 $out.write_ulong (rod);
00503 $out.write_ulong (channel);
00504 $in = _invoke ($out);
00505 sctConf.BOCChannelConfig $result = sctConf.BOCChannelConfigHelper.read ($in);
00506 return $result;
00507 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00508 $in = $ex.getInputStream ();
00509 String _id = $ex.getId ();
00510 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00511 throw sctConf.ConfigurationExceptionHelper.read ($in);
00512 else
00513 throw new org.omg.CORBA.MARSHAL (_id);
00514 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00515 return getBOCConfig (partition, crate, rod, channel );
00516 } finally {
00517 _releaseReply ($in);
00518 }
00519 }
00520
00521 public sctConf.BOCGlobalConfig getBOCGlobalConfig (int partition, int crate, int rod) throws sctConf.ConfigurationException
00522 {
00523 org.omg.CORBA.portable.InputStream $in = null;
00524 try {
00525 org.omg.CORBA.portable.OutputStream $out = _request ("getBOCGlobalConfig", true);
00526 $out.write_ulong (partition);
00527 $out.write_ulong (crate);
00528 $out.write_ulong (rod);
00529 $in = _invoke ($out);
00530 sctConf.BOCGlobalConfig $result = sctConf.BOCGlobalConfigHelper.read ($in);
00531 return $result;
00532 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00533 $in = $ex.getInputStream ();
00534 String _id = $ex.getId ();
00535 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00536 throw sctConf.ConfigurationExceptionHelper.read ($in);
00537 else
00538 throw new org.omg.CORBA.MARSHAL (_id);
00539 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00540 return getBOCGlobalConfig (partition, crate, rod );
00541 } finally {
00542 _releaseReply ($in);
00543 }
00544 }
00545
00546 public String printModuleConfig (sctConf.ABCDModule conf) throws sctConf.ConfigurationException
00547 {
00548 org.omg.CORBA.portable.InputStream $in = null;
00549 try {
00550 org.omg.CORBA.portable.OutputStream $out = _request ("printModuleConfig", true);
00551 sctConf.ABCDModuleHelper.write ($out, conf);
00552 $in = _invoke ($out);
00553 String $result = $in.read_string ();
00554 return $result;
00555 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00556 $in = $ex.getInputStream ();
00557 String _id = $ex.getId ();
00558 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00559 throw sctConf.ConfigurationExceptionHelper.read ($in);
00560 else
00561 throw new org.omg.CORBA.MARSHAL (_id);
00562 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00563 return printModuleConfig (conf );
00564 } finally {
00565 _releaseReply ($in);
00566 }
00567 }
00568
00569 public sctConf.MURType getMURType (int MUR) throws sctConf.ConfigurationException
00570 {
00571 org.omg.CORBA.portable.InputStream $in = null;
00572 try {
00573 org.omg.CORBA.portable.OutputStream $out = _request ("getMURType", true);
00574 $out.write_ulong (MUR);
00575 $in = _invoke ($out);
00576 sctConf.MURType $result = sctConf.MURTypeHelper.read ($in);
00577 return $result;
00578 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00579 $in = $ex.getInputStream ();
00580 String _id = $ex.getId ();
00581 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00582 throw sctConf.ConfigurationExceptionHelper.read ($in);
00583 else
00584 throw new org.omg.CORBA.MARSHAL (_id);
00585 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00586 return getMURType (MUR );
00587 } finally {
00588 _releaseReply ($in);
00589 }
00590 }
00591
00592 public int getFreeMurId () throws sctConf.ConfigurationException
00593 {
00594 org.omg.CORBA.portable.InputStream $in = null;
00595 try {
00596 org.omg.CORBA.portable.OutputStream $out = _request ("getFreeMurId", true);
00597 $in = _invoke ($out);
00598 int $result = $in.read_ulong ();
00599 return $result;
00600 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00601 $in = $ex.getInputStream ();
00602 String _id = $ex.getId ();
00603 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00604 throw sctConf.ConfigurationExceptionHelper.read ($in);
00605 else
00606 throw new org.omg.CORBA.MARSHAL (_id);
00607 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00608 return getFreeMurId ( );
00609 } finally {
00610 _releaseReply ($in);
00611 }
00612 }
00613
00614 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
00615 {
00616 org.omg.CORBA.portable.InputStream $in = null;
00617 try {
00618 org.omg.CORBA.portable.OutputStream $out = _request ("translateToROD", true);
00619 $out.write_ulong (MUR);
00620 $out.write_ulong (mod);
00621 $in = _invoke ($out);
00622 partition.value = $in.read_ulong ();
00623 crate.value = $in.read_ulong ();
00624 rod.value = $in.read_ulong ();
00625 channel.value = $in.read_ulong ();
00626 return;
00627 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00628 $in = $ex.getInputStream ();
00629 String _id = $ex.getId ();
00630 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00631 throw sctConf.ConfigurationExceptionHelper.read ($in);
00632 else
00633 throw new org.omg.CORBA.MARSHAL (_id);
00634 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00635 translateToROD (MUR, mod, partition, crate, rod, channel );
00636 } finally {
00637 _releaseReply ($in);
00638 }
00639 }
00640
00641 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
00642 {
00643 org.omg.CORBA.portable.InputStream $in = null;
00644 try {
00645 org.omg.CORBA.portable.OutputStream $out = _request ("translateToRROD", true);
00646 $out.write_ulong (MUR);
00647 $out.write_ulong (mod);
00648 $in = _invoke ($out);
00649 partition.value = $in.read_ulong ();
00650 crate.value = $in.read_ulong ();
00651 rod.value = $in.read_ulong ();
00652 channel.value = $in.read_ulong ();
00653 return;
00654 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00655 $in = $ex.getInputStream ();
00656 String _id = $ex.getId ();
00657 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00658 throw sctConf.ConfigurationExceptionHelper.read ($in);
00659 else
00660 throw new org.omg.CORBA.MARSHAL (_id);
00661 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00662 translateToRROD (MUR, mod, partition, crate, rod, channel );
00663 } finally {
00664 _releaseReply ($in);
00665 }
00666 }
00667
00668 public void translateToSN (int MUR, int mod, org.omg.CORBA.StringHolder sn) throws sctConf.ConfigurationException
00669 {
00670 org.omg.CORBA.portable.InputStream $in = null;
00671 try {
00672 org.omg.CORBA.portable.OutputStream $out = _request ("translateToSN", true);
00673 $out.write_ulong (MUR);
00674 $out.write_ulong (mod);
00675 $in = _invoke ($out);
00676 sn.value = $in.read_string ();
00677 return;
00678 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00679 $in = $ex.getInputStream ();
00680 String _id = $ex.getId ();
00681 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00682 throw sctConf.ConfigurationExceptionHelper.read ($in);
00683 else
00684 throw new org.omg.CORBA.MARSHAL (_id);
00685 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00686 translateToSN (MUR, mod, sn );
00687 } finally {
00688 _releaseReply ($in);
00689 }
00690 }
00691
00692 public void translateToRMUR (int RMUR, int rmod, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00693 {
00694 org.omg.CORBA.portable.InputStream $in = null;
00695 try {
00696 org.omg.CORBA.portable.OutputStream $out = _request ("translateToRMUR", true);
00697 $out.write_ulong (RMUR);
00698 $out.write_ulong (rmod);
00699 $in = _invoke ($out);
00700 MUR.value = $in.read_ulong ();
00701 mod.value = $in.read_ulong ();
00702 return;
00703 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00704 $in = $ex.getInputStream ();
00705 String _id = $ex.getId ();
00706 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00707 throw sctConf.ConfigurationExceptionHelper.read ($in);
00708 else
00709 throw new org.omg.CORBA.MARSHAL (_id);
00710 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00711 translateToRMUR (RMUR, rmod, MUR, mod );
00712 } finally {
00713 _releaseReply ($in);
00714 }
00715 }
00716
00717 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
00718 {
00719 org.omg.CORBA.portable.InputStream $in = null;
00720 try {
00721 org.omg.CORBA.portable.OutputStream $out = _request ("translateToBarrel", true);
00722 $out.write_ulong (MUR);
00723 $out.write_ulong (mod);
00724 $in = _invoke ($out);
00725 barrel.value = $in.read_ulong ();
00726 row.value = $in.read_ulong ();
00727 number.value = $in.read_long ();
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 translateToBarrel (MUR, mod, barrel, row, number );
00738 } finally {
00739 _releaseReply ($in);
00740 }
00741 }
00742
00743 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
00744 {
00745 org.omg.CORBA.portable.InputStream $in = null;
00746 try {
00747 org.omg.CORBA.portable.OutputStream $out = _request ("translateToEndcap", true);
00748 $out.write_ulong (MUR);
00749 $out.write_ulong (mod);
00750 $in = _invoke ($out);
00751 disk.value = $in.read_long ();
00752 ring.value = $in.read_ulong ();
00753 number.value = $in.read_ulong ();
00754 return;
00755 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00756 $in = $ex.getInputStream ();
00757 String _id = $ex.getId ();
00758 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00759 throw sctConf.ConfigurationExceptionHelper.read ($in);
00760 else
00761 throw new org.omg.CORBA.MARSHAL (_id);
00762 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00763 translateToEndcap (MUR, mod, disk, ring, number );
00764 } finally {
00765 _releaseReply ($in);
00766 }
00767 }
00768
00769 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
00770 {
00771 org.omg.CORBA.portable.InputStream $in = null;
00772 try {
00773 org.omg.CORBA.portable.OutputStream $out = _request ("translateToPowerSupply", true);
00774 $out.write_ulong (MUR);
00775 $out.write_ulong (mod);
00776 $in = _invoke ($out);
00777 partition.value = $in.read_ulong ();
00778 crate.value = $in.read_ulong ();
00779 channel.value = $in.read_ulong ();
00780 return;
00781 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00782 $in = $ex.getInputStream ();
00783 String _id = $ex.getId ();
00784 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00785 throw sctConf.ConfigurationExceptionHelper.read ($in);
00786 else
00787 throw new org.omg.CORBA.MARSHAL (_id);
00788 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00789 translateToPowerSupply (MUR, mod, partition, crate, channel );
00790 } finally {
00791 _releaseReply ($in);
00792 }
00793 }
00794
00795 public void translateFromROD (int partition, int crate, int rod, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00796 {
00797 org.omg.CORBA.portable.InputStream $in = null;
00798 try {
00799 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromROD", true);
00800 $out.write_ulong (partition);
00801 $out.write_ulong (crate);
00802 $out.write_ulong (rod);
00803 $out.write_ulong (channel);
00804 $in = _invoke ($out);
00805 MUR.value = $in.read_ulong ();
00806 mod.value = $in.read_ulong ();
00807 return;
00808 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00809 $in = $ex.getInputStream ();
00810 String _id = $ex.getId ();
00811 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00812 throw sctConf.ConfigurationExceptionHelper.read ($in);
00813 else
00814 throw new org.omg.CORBA.MARSHAL (_id);
00815 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00816 translateFromROD (partition, crate, rod, channel, MUR, mod );
00817 } finally {
00818 _releaseReply ($in);
00819 }
00820 }
00821
00822 public void translateFromRROD (int partition, int crate, int rod, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00823 {
00824 org.omg.CORBA.portable.InputStream $in = null;
00825 try {
00826 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromRROD", true);
00827 $out.write_ulong (partition);
00828 $out.write_ulong (crate);
00829 $out.write_ulong (rod);
00830 $out.write_ulong (channel);
00831 $in = _invoke ($out);
00832 MUR.value = $in.read_ulong ();
00833 mod.value = $in.read_ulong ();
00834 return;
00835 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00836 $in = $ex.getInputStream ();
00837 String _id = $ex.getId ();
00838 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00839 throw sctConf.ConfigurationExceptionHelper.read ($in);
00840 else
00841 throw new org.omg.CORBA.MARSHAL (_id);
00842 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00843 translateFromRROD (partition, crate, rod, channel, MUR, mod );
00844 } finally {
00845 _releaseReply ($in);
00846 }
00847 }
00848
00849 public void translateFromSN (String sn, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00850 {
00851 org.omg.CORBA.portable.InputStream $in = null;
00852 try {
00853 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromSN", true);
00854 $out.write_string (sn);
00855 $in = _invoke ($out);
00856 MUR.value = $in.read_ulong ();
00857 mod.value = $in.read_ulong ();
00858 return;
00859 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00860 $in = $ex.getInputStream ();
00861 String _id = $ex.getId ();
00862 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00863 throw sctConf.ConfigurationExceptionHelper.read ($in);
00864 else
00865 throw new org.omg.CORBA.MARSHAL (_id);
00866 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00867 translateFromSN (sn, MUR, mod );
00868 } finally {
00869 _releaseReply ($in);
00870 }
00871 }
00872
00873 public void translateFromRMUR (int MUR, int mod, org.omg.CORBA.IntHolder RMUR, org.omg.CORBA.IntHolder rmod) throws sctConf.ConfigurationException
00874 {
00875 org.omg.CORBA.portable.InputStream $in = null;
00876 try {
00877 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromRMUR", true);
00878 $out.write_ulong (MUR);
00879 $out.write_ulong (mod);
00880 $in = _invoke ($out);
00881 RMUR.value = $in.read_ulong ();
00882 rmod.value = $in.read_ulong ();
00883 return;
00884 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00885 $in = $ex.getInputStream ();
00886 String _id = $ex.getId ();
00887 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00888 throw sctConf.ConfigurationExceptionHelper.read ($in);
00889 else
00890 throw new org.omg.CORBA.MARSHAL (_id);
00891 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00892 translateFromRMUR (MUR, mod, RMUR, rmod );
00893 } finally {
00894 _releaseReply ($in);
00895 }
00896 }
00897
00898 public void translateFromBarrel (int barrel, int row, int number, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00899 {
00900 org.omg.CORBA.portable.InputStream $in = null;
00901 try {
00902 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromBarrel", true);
00903 $out.write_ulong (barrel);
00904 $out.write_ulong (row);
00905 $out.write_long (number);
00906 $in = _invoke ($out);
00907 MUR.value = $in.read_ulong ();
00908 mod.value = $in.read_ulong ();
00909 return;
00910 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00911 $in = $ex.getInputStream ();
00912 String _id = $ex.getId ();
00913 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00914 throw sctConf.ConfigurationExceptionHelper.read ($in);
00915 else
00916 throw new org.omg.CORBA.MARSHAL (_id);
00917 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00918 translateFromBarrel (barrel, row, number, MUR, mod );
00919 } finally {
00920 _releaseReply ($in);
00921 }
00922 }
00923
00924 public void translateFromEndcap (int disk, int ring, int number, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00925 {
00926 org.omg.CORBA.portable.InputStream $in = null;
00927 try {
00928 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromEndcap", true);
00929 $out.write_long (disk);
00930 $out.write_ulong (ring);
00931 $out.write_ulong (number);
00932 $in = _invoke ($out);
00933 MUR.value = $in.read_ulong ();
00934 mod.value = $in.read_ulong ();
00935 return;
00936 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00937 $in = $ex.getInputStream ();
00938 String _id = $ex.getId ();
00939 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00940 throw sctConf.ConfigurationExceptionHelper.read ($in);
00941 else
00942 throw new org.omg.CORBA.MARSHAL (_id);
00943 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00944 translateFromEndcap (disk, ring, number, MUR, mod );
00945 } finally {
00946 _releaseReply ($in);
00947 }
00948 }
00949
00950 public void translateFromPowerSupply (int partition, int crate, int channel, org.omg.CORBA.IntHolder MUR, org.omg.CORBA.IntHolder mod) throws sctConf.ConfigurationException
00951 {
00952 org.omg.CORBA.portable.InputStream $in = null;
00953 try {
00954 org.omg.CORBA.portable.OutputStream $out = _request ("translateFromPowerSupply", true);
00955 $out.write_ulong (partition);
00956 $out.write_ulong (crate);
00957 $out.write_ulong (channel);
00958 $in = _invoke ($out);
00959 MUR.value = $in.read_ulong ();
00960 mod.value = $in.read_ulong ();
00961 return;
00962 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00963 $in = $ex.getInputStream ();
00964 String _id = $ex.getId ();
00965 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00966 throw sctConf.ConfigurationExceptionHelper.read ($in);
00967 else
00968 throw new org.omg.CORBA.MARSHAL (_id);
00969 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00970 translateFromPowerSupply (partition, crate, channel, MUR, mod );
00971 } finally {
00972 _releaseReply ($in);
00973 }
00974 }
00975
00976
00977
00978 public void configureModuleFromStructure (String number, sctConf.ABCDModule mConf) throws sctConf.ConfigurationException
00979 {
00980 org.omg.CORBA.portable.InputStream $in = null;
00981 try {
00982 org.omg.CORBA.portable.OutputStream $out = _request ("configureModuleFromStructure", true);
00983 $out.write_string (number);
00984 sctConf.ABCDModuleHelper.write ($out, mConf);
00985 $in = _invoke ($out);
00986 return;
00987 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00988 $in = $ex.getInputStream ();
00989 String _id = $ex.getId ();
00990 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
00991 throw sctConf.ConfigurationExceptionHelper.read ($in);
00992 else
00993 throw new org.omg.CORBA.MARSHAL (_id);
00994 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00995 configureModuleFromStructure (number, mConf );
00996 } finally {
00997 _releaseReply ($in);
00998 }
00999 }
01000
01001 public void configureModuleFromFile (String filename) throws sctConf.ConfigurationException
01002 {
01003 org.omg.CORBA.portable.InputStream $in = null;
01004 try {
01005 org.omg.CORBA.portable.OutputStream $out = _request ("configureModuleFromFile", true);
01006 $out.write_string (filename);
01007 $in = _invoke ($out);
01008 return;
01009 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01010 $in = $ex.getInputStream ();
01011 String _id = $ex.getId ();
01012 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01013 throw sctConf.ConfigurationExceptionHelper.read ($in);
01014 else
01015 throw new org.omg.CORBA.MARSHAL (_id);
01016 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01017 configureModuleFromFile (filename );
01018 } finally {
01019 _releaseReply ($in);
01020 }
01021 }
01022
01023 public void configureROD (int partition, int crate, int rod, sctConf.RodConfig conf) throws sctConf.ConfigurationException
01024 {
01025 org.omg.CORBA.portable.InputStream $in = null;
01026 try {
01027 org.omg.CORBA.portable.OutputStream $out = _request ("configureROD", true);
01028 $out.write_ulong (partition);
01029 $out.write_ulong (crate);
01030 $out.write_ulong (rod);
01031 sctConf.RodConfigHelper.write ($out, conf);
01032 $in = _invoke ($out);
01033 return;
01034 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01035 $in = $ex.getInputStream ();
01036 String _id = $ex.getId ();
01037 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01038 throw sctConf.ConfigurationExceptionHelper.read ($in);
01039 else
01040 throw new org.omg.CORBA.MARSHAL (_id);
01041 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01042 configureROD (partition, crate, rod, conf );
01043 } finally {
01044 _releaseReply ($in);
01045 }
01046 }
01047
01048 public void configureTIM (int partition, int crate, sctConf.TimConfig conf) throws sctConf.ConfigurationException
01049 {
01050 org.omg.CORBA.portable.InputStream $in = null;
01051 try {
01052 org.omg.CORBA.portable.OutputStream $out = _request ("configureTIM", true);
01053 $out.write_ulong (partition);
01054 $out.write_ulong (crate);
01055 sctConf.TimConfigHelper.write ($out, conf);
01056 $in = _invoke ($out);
01057 return;
01058 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01059 $in = $ex.getInputStream ();
01060 String _id = $ex.getId ();
01061 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01062 throw sctConf.ConfigurationExceptionHelper.read ($in);
01063 else
01064 throw new org.omg.CORBA.MARSHAL (_id);
01065 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01066 configureTIM (partition, crate, conf );
01067 } finally {
01068 _releaseReply ($in);
01069 }
01070 }
01071
01072 public void configureBOC (int partition, int crate, int rod, sctConf.BOCGlobalConfig conf) throws sctConf.ConfigurationException
01073 {
01074 org.omg.CORBA.portable.InputStream $in = null;
01075 try {
01076 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOC", true);
01077 $out.write_ulong (partition);
01078 $out.write_ulong (crate);
01079 $out.write_ulong (rod);
01080 sctConf.BOCGlobalConfigHelper.write ($out, conf);
01081 $in = _invoke ($out);
01082 return;
01083 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01084 $in = $ex.getInputStream ();
01085 String _id = $ex.getId ();
01086 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01087 throw sctConf.ConfigurationExceptionHelper.read ($in);
01088 else
01089 throw new org.omg.CORBA.MARSHAL (_id);
01090 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01091 configureBOC (partition, crate, rod, conf );
01092 } finally {
01093 _releaseReply ($in);
01094 }
01095 }
01096
01097 public void clearAll () throws sctConf.ConfigurationException
01098 {
01099 org.omg.CORBA.portable.InputStream $in = null;
01100 try {
01101 org.omg.CORBA.portable.OutputStream $out = _request ("clearAll", true);
01102 $in = _invoke ($out);
01103 return;
01104 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01105 $in = $ex.getInputStream ();
01106 String _id = $ex.getId ();
01107 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01108 throw sctConf.ConfigurationExceptionHelper.read ($in);
01109 else
01110 throw new org.omg.CORBA.MARSHAL (_id);
01111 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01112 clearAll ( );
01113 } finally {
01114 _releaseReply ($in);
01115 }
01116 }
01117
01118 public void namePartition (int partition, String name) throws sctConf.ConfigurationException
01119 {
01120 org.omg.CORBA.portable.InputStream $in = null;
01121 try {
01122 org.omg.CORBA.portable.OutputStream $out = _request ("namePartition", true);
01123 $out.write_ulong (partition);
01124 $out.write_string (name);
01125 $in = _invoke ($out);
01126 return;
01127 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01128 $in = $ex.getInputStream ();
01129 String _id = $ex.getId ();
01130 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01131 throw sctConf.ConfigurationExceptionHelper.read ($in);
01132 else
01133 throw new org.omg.CORBA.MARSHAL (_id);
01134 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01135 namePartition (partition, name );
01136 } finally {
01137 _releaseReply ($in);
01138 }
01139 }
01140
01141 public void mapRODMUR (int partition, int crate, int rod, int order, int number) throws sctConf.ConfigurationException
01142 {
01143 org.omg.CORBA.portable.InputStream $in = null;
01144 try {
01145 org.omg.CORBA.portable.OutputStream $out = _request ("mapRODMUR", true);
01146 $out.write_ulong (partition);
01147 $out.write_ulong (crate);
01148 $out.write_ulong (rod);
01149 $out.write_ulong (order);
01150 $out.write_ulong (number);
01151 $in = _invoke ($out);
01152 return;
01153 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01154 $in = $ex.getInputStream ();
01155 String _id = $ex.getId ();
01156 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01157 throw sctConf.ConfigurationExceptionHelper.read ($in);
01158 else
01159 throw new org.omg.CORBA.MARSHAL (_id);
01160 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01161 mapRODMUR (partition, crate, rod, order, number );
01162 } finally {
01163 _releaseReply ($in);
01164 }
01165 }
01166
01167 public void unmapRODMUR (int MUR) throws sctConf.ConfigurationException
01168 {
01169 org.omg.CORBA.portable.InputStream $in = null;
01170 try {
01171 org.omg.CORBA.portable.OutputStream $out = _request ("unmapRODMUR", true);
01172 $out.write_ulong (MUR);
01173 $in = _invoke ($out);
01174 return;
01175 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01176 $in = $ex.getInputStream ();
01177 String _id = $ex.getId ();
01178 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01179 throw sctConf.ConfigurationExceptionHelper.read ($in);
01180 else
01181 throw new org.omg.CORBA.MARSHAL (_id);
01182 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01183 unmapRODMUR (MUR );
01184 } finally {
01185 _releaseReply ($in);
01186 }
01187 }
01188
01189 public void mapBarrelMUR (int MUR, int barrel, int row, int position) throws sctConf.ConfigurationException
01190 {
01191 org.omg.CORBA.portable.InputStream $in = null;
01192 try {
01193 org.omg.CORBA.portable.OutputStream $out = _request ("mapBarrelMUR", true);
01194 $out.write_ulong (MUR);
01195 $out.write_ulong (barrel);
01196 $out.write_ulong (row);
01197 $out.write_long (position);
01198 $in = _invoke ($out);
01199 return;
01200 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01201 $in = $ex.getInputStream ();
01202 String _id = $ex.getId ();
01203 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01204 throw sctConf.ConfigurationExceptionHelper.read ($in);
01205 else
01206 throw new org.omg.CORBA.MARSHAL (_id);
01207 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01208 mapBarrelMUR (MUR, barrel, row, position );
01209 } finally {
01210 _releaseReply ($in);
01211 }
01212 }
01213
01214 public void unmapBarrelMUR (int MUR) throws sctConf.ConfigurationException
01215 {
01216 org.omg.CORBA.portable.InputStream $in = null;
01217 try {
01218 org.omg.CORBA.portable.OutputStream $out = _request ("unmapBarrelMUR", true);
01219 $out.write_ulong (MUR);
01220 $in = _invoke ($out);
01221 return;
01222 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01223 $in = $ex.getInputStream ();
01224 String _id = $ex.getId ();
01225 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01226 throw sctConf.ConfigurationExceptionHelper.read ($in);
01227 else
01228 throw new org.omg.CORBA.MARSHAL (_id);
01229 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01230 unmapBarrelMUR (MUR );
01231 } finally {
01232 _releaseReply ($in);
01233 }
01234 }
01235
01236 public void mapEndcapMUR (int MUR, int disk, int quadrant, int position) throws sctConf.ConfigurationException
01237 {
01238 org.omg.CORBA.portable.InputStream $in = null;
01239 try {
01240 org.omg.CORBA.portable.OutputStream $out = _request ("mapEndcapMUR", true);
01241 $out.write_ulong (MUR);
01242 $out.write_long (disk);
01243 $out.write_ulong (quadrant);
01244 $out.write_ulong (position);
01245 $in = _invoke ($out);
01246 return;
01247 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01248 $in = $ex.getInputStream ();
01249 String _id = $ex.getId ();
01250 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01251 throw sctConf.ConfigurationExceptionHelper.read ($in);
01252 else
01253 throw new org.omg.CORBA.MARSHAL (_id);
01254 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01255 mapEndcapMUR (MUR, disk, quadrant, position );
01256 } finally {
01257 _releaseReply ($in);
01258 }
01259 }
01260
01261 public void unmapEndcapMUR (int MUR) throws sctConf.ConfigurationException
01262 {
01263 org.omg.CORBA.portable.InputStream $in = null;
01264 try {
01265 org.omg.CORBA.portable.OutputStream $out = _request ("unmapEndcapMUR", true);
01266 $out.write_ulong (MUR);
01267 $in = _invoke ($out);
01268 return;
01269 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01270 $in = $ex.getInputStream ();
01271 String _id = $ex.getId ();
01272 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01273 throw sctConf.ConfigurationExceptionHelper.read ($in);
01274 else
01275 throw new org.omg.CORBA.MARSHAL (_id);
01276 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01277 unmapEndcapMUR (MUR );
01278 } finally {
01279 _releaseReply ($in);
01280 }
01281 }
01282
01283 public void mapPowerChannel (int MUR, int number, int partition, int crate, int channel) throws sctConf.ConfigurationException
01284 {
01285 org.omg.CORBA.portable.InputStream $in = null;
01286 try {
01287 org.omg.CORBA.portable.OutputStream $out = _request ("mapPowerChannel", true);
01288 $out.write_ulong (MUR);
01289 $out.write_ulong (number);
01290 $out.write_ulong (partition);
01291 $out.write_ulong (crate);
01292 $out.write_ulong (channel);
01293 $in = _invoke ($out);
01294 return;
01295 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01296 $in = $ex.getInputStream ();
01297 String _id = $ex.getId ();
01298 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01299 throw sctConf.ConfigurationExceptionHelper.read ($in);
01300 else
01301 throw new org.omg.CORBA.MARSHAL (_id);
01302 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01303 mapPowerChannel (MUR, number, partition, crate, channel );
01304 } finally {
01305 _releaseReply ($in);
01306 }
01307 }
01308
01309 public void unmapPowerChannel (int MUR, int number) throws sctConf.ConfigurationException
01310 {
01311 org.omg.CORBA.portable.InputStream $in = null;
01312 try {
01313 org.omg.CORBA.portable.OutputStream $out = _request ("unmapPowerChannel", true);
01314 $out.write_ulong (MUR);
01315 $out.write_ulong (number);
01316 $in = _invoke ($out);
01317 return;
01318 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01319 $in = $ex.getInputStream ();
01320 String _id = $ex.getId ();
01321 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01322 throw sctConf.ConfigurationExceptionHelper.read ($in);
01323 else
01324 throw new org.omg.CORBA.MARSHAL (_id);
01325 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01326 unmapPowerChannel (MUR, number );
01327 } finally {
01328 _releaseReply ($in);
01329 }
01330 }
01331
01332 public void mapModuleMUR (int MUR, int order, int RMUR, int rorder, String sn) throws sctConf.ConfigurationException
01333 {
01334 org.omg.CORBA.portable.InputStream $in = null;
01335 try {
01336 org.omg.CORBA.portable.OutputStream $out = _request ("mapModuleMUR", true);
01337 $out.write_ulong (MUR);
01338 $out.write_ulong (order);
01339 $out.write_ulong (RMUR);
01340 $out.write_ulong (rorder);
01341 $out.write_string (sn);
01342 $in = _invoke ($out);
01343 return;
01344 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01345 $in = $ex.getInputStream ();
01346 String _id = $ex.getId ();
01347 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01348 throw sctConf.ConfigurationExceptionHelper.read ($in);
01349 else
01350 throw new org.omg.CORBA.MARSHAL (_id);
01351 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01352 mapModuleMUR (MUR, order, RMUR, rorder, sn );
01353 } finally {
01354 _releaseReply ($in);
01355 }
01356 }
01357
01358 public void unmapModuleMUR (int MUR, int order) throws sctConf.ConfigurationException
01359 {
01360 org.omg.CORBA.portable.InputStream $in = null;
01361 try {
01362 org.omg.CORBA.portable.OutputStream $out = _request ("unmapModuleMUR", true);
01363 $out.write_ulong (MUR);
01364 $out.write_ulong (order);
01365 $in = _invoke ($out);
01366 return;
01367 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01368 $in = $ex.getInputStream ();
01369 String _id = $ex.getId ();
01370 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01371 throw sctConf.ConfigurationExceptionHelper.read ($in);
01372 else
01373 throw new org.omg.CORBA.MARSHAL (_id);
01374 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01375 unmapModuleMUR (MUR, order );
01376 } finally {
01377 _releaseReply ($in);
01378 }
01379 }
01380
01381 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
01382 {
01383 org.omg.CORBA.portable.InputStream $in = null;
01384 try {
01385 org.omg.CORBA.portable.OutputStream $out = _request ("getMapMURROD", true);
01386 $out.write_ulong (MUR);
01387 $in = _invoke ($out);
01388 partition.value = $in.read_ulong ();
01389 crate.value = $in.read_ulong ();
01390 rod.value = $in.read_ulong ();
01391 order.value = $in.read_ulong ();
01392 return;
01393 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01394 $in = $ex.getInputStream ();
01395 String _id = $ex.getId ();
01396 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01397 throw sctConf.ConfigurationExceptionHelper.read ($in);
01398 else
01399 throw new org.omg.CORBA.MARSHAL (_id);
01400 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01401 getMapMURROD (MUR, partition, crate, rod, order );
01402 } finally {
01403 _releaseReply ($in);
01404 }
01405 }
01406
01407 public void getMapRODMUR (int partition, int crate, int rod, int order, org.omg.CORBA.IntHolder MUR) throws sctConf.ConfigurationException
01408 {
01409 org.omg.CORBA.portable.InputStream $in = null;
01410 try {
01411 org.omg.CORBA.portable.OutputStream $out = _request ("getMapRODMUR", true);
01412 $out.write_ulong (partition);
01413 $out.write_ulong (crate);
01414 $out.write_ulong (rod);
01415 $out.write_ulong (order);
01416 $in = _invoke ($out);
01417 MUR.value = $in.read_ulong ();
01418 return;
01419 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01420 $in = $ex.getInputStream ();
01421 String _id = $ex.getId ();
01422 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01423 throw sctConf.ConfigurationExceptionHelper.read ($in);
01424 else
01425 throw new org.omg.CORBA.MARSHAL (_id);
01426 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01427 getMapRODMUR (partition, crate, rod, order, MUR );
01428 } finally {
01429 _releaseReply ($in);
01430 }
01431 }
01432
01433 public sctConf.MURType getMapMURPhysical (int MUR, org.omg.CORBA.IntHolder plane, org.omg.CORBA.IntHolder section, org.omg.CORBA.IntHolder position) throws sctConf.ConfigurationException
01434 {
01435 org.omg.CORBA.portable.InputStream $in = null;
01436 try {
01437 org.omg.CORBA.portable.OutputStream $out = _request ("getMapMURPhysical", true);
01438 $out.write_ulong (MUR);
01439 $in = _invoke ($out);
01440 sctConf.MURType $result = sctConf.MURTypeHelper.read ($in);
01441 plane.value = $in.read_ulong ();
01442 section.value = $in.read_ulong ();
01443 position.value = $in.read_ulong ();
01444 return $result;
01445 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01446 $in = $ex.getInputStream ();
01447 String _id = $ex.getId ();
01448 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01449 throw sctConf.ConfigurationExceptionHelper.read ($in);
01450 else
01451 throw new org.omg.CORBA.MARSHAL (_id);
01452 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01453 return getMapMURPhysical (MUR, plane, section, position );
01454 } finally {
01455 _releaseReply ($in);
01456 }
01457 }
01458
01459 public void swapMURNames (int MUR1, int MUR2) throws sctConf.ConfigurationException
01460 {
01461 org.omg.CORBA.portable.InputStream $in = null;
01462 try {
01463 org.omg.CORBA.portable.OutputStream $out = _request ("swapMURNames", true);
01464 $out.write_ulong (MUR1);
01465 $out.write_ulong (MUR2);
01466 $in = _invoke ($out);
01467 return;
01468 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01469 $in = $ex.getInputStream ();
01470 String _id = $ex.getId ();
01471 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01472 throw sctConf.ConfigurationExceptionHelper.read ($in);
01473 else
01474 throw new org.omg.CORBA.MARSHAL (_id);
01475 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01476 swapMURNames (MUR1, MUR2 );
01477 } finally {
01478 _releaseReply ($in);
01479 }
01480 }
01481
01482 public void modifyDefaultPowerParam (String state, String name, String type, float value) throws sctConf.ConfigurationException
01483 {
01484 org.omg.CORBA.portable.InputStream $in = null;
01485 try {
01486 org.omg.CORBA.portable.OutputStream $out = _request ("modifyDefaultPowerParam", true);
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 modifyDefaultPowerParam (state, name, type, value );
01502 } finally {
01503 _releaseReply ($in);
01504 }
01505 }
01506
01507 public void modifyHVCardParam (int crate, int card, 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 ("modifyHVCardParam", true);
01512 $out.write_ulong (crate);
01513 $out.write_ulong (card);
01514 $out.write_string (name);
01515 $out.write_string (type);
01516 $out.write_float (value);
01517 $in = _invoke ($out);
01518 return;
01519 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01520 $in = $ex.getInputStream ();
01521 String _id = $ex.getId ();
01522 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01523 throw sctConf.ConfigurationExceptionHelper.read ($in);
01524 else
01525 throw new org.omg.CORBA.MARSHAL (_id);
01526 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01527 modifyHVCardParam (crate, card, name, type, value );
01528 } finally {
01529 _releaseReply ($in);
01530 }
01531 }
01532
01533 public void modifyLVCardParam (int crate, int card, String name, String type, float value) throws sctConf.ConfigurationException
01534 {
01535 org.omg.CORBA.portable.InputStream $in = null;
01536 try {
01537 org.omg.CORBA.portable.OutputStream $out = _request ("modifyLVCardParam", true);
01538 $out.write_ulong (crate);
01539 $out.write_ulong (card);
01540 $out.write_string (name);
01541 $out.write_string (type);
01542 $out.write_float (value);
01543 $in = _invoke ($out);
01544 return;
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 modifyLVCardParam (crate, card, name, type, value );
01554 } finally {
01555 _releaseReply ($in);
01556 }
01557 }
01558
01559 public void modifyPowerParam (int MUR, int number, String state, String name, String type, float value) throws sctConf.ConfigurationException
01560 {
01561 org.omg.CORBA.portable.InputStream $in = null;
01562 try {
01563 org.omg.CORBA.portable.OutputStream $out = _request ("modifyPowerParam", true);
01564 $out.write_ulong (MUR);
01565 $out.write_ulong (number);
01566 $out.write_string (state);
01567 $out.write_string (name);
01568 $out.write_string (type);
01569 $out.write_float (value);
01570 $in = _invoke ($out);
01571 return;
01572 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01573 $in = $ex.getInputStream ();
01574 String _id = $ex.getId ();
01575 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01576 throw sctConf.ConfigurationExceptionHelper.read ($in);
01577 else
01578 throw new org.omg.CORBA.MARSHAL (_id);
01579 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01580 modifyPowerParam (MUR, number, state, name, type, value );
01581 } finally {
01582 _releaseReply ($in);
01583 }
01584 }
01585
01586 public void modifyPowerParamCC (int crate, int channel, String state, String name, String type, float value) throws sctConf.ConfigurationException
01587 {
01588 org.omg.CORBA.portable.InputStream $in = null;
01589 try {
01590 org.omg.CORBA.portable.OutputStream $out = _request ("modifyPowerParamCC", true);
01591 $out.write_ulong (crate);
01592 $out.write_ulong (channel);
01593 $out.write_string (state);
01594 $out.write_string (name);
01595 $out.write_string (type);
01596 $out.write_float (value);
01597 $in = _invoke ($out);
01598 return;
01599 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01600 $in = $ex.getInputStream ();
01601 String _id = $ex.getId ();
01602 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01603 throw sctConf.ConfigurationExceptionHelper.read ($in);
01604 else
01605 throw new org.omg.CORBA.MARSHAL (_id);
01606 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01607 modifyPowerParamCC (crate, channel, state, name, type, value );
01608 } finally {
01609 _releaseReply ($in);
01610 }
01611 }
01612
01613 public float getDefaultPowerParam (String state, String name, String type) throws sctConf.ConfigurationException
01614 {
01615 org.omg.CORBA.portable.InputStream $in = null;
01616 try {
01617 org.omg.CORBA.portable.OutputStream $out = _request ("getDefaultPowerParam", true);
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 getDefaultPowerParam (state, name, type );
01633 } finally {
01634 _releaseReply ($in);
01635 }
01636 }
01637
01638 public float getHVCardParam (int crate, int card, 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 ("getHVCardParam", true);
01643 $out.write_ulong (crate);
01644 $out.write_ulong (card);
01645 $out.write_string (name);
01646 $out.write_string (type);
01647 $in = _invoke ($out);
01648 float $result = $in.read_float ();
01649 return $result;
01650 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01651 $in = $ex.getInputStream ();
01652 String _id = $ex.getId ();
01653 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01654 throw sctConf.ConfigurationExceptionHelper.read ($in);
01655 else
01656 throw new org.omg.CORBA.MARSHAL (_id);
01657 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01658 return getHVCardParam (crate, card, name, type );
01659 } finally {
01660 _releaseReply ($in);
01661 }
01662 }
01663
01664
01671 public float getLVCardParam (int crate, int card, String name, String type) throws sctConf.ConfigurationException
01672 {
01673 org.omg.CORBA.portable.InputStream $in = null;
01674 try {
01675 org.omg.CORBA.portable.OutputStream $out = _request ("getLVCardParam", true);
01676 $out.write_ulong (crate);
01677 $out.write_ulong (card);
01678 $out.write_string (name);
01679 $out.write_string (type);
01680 $in = _invoke ($out);
01681 float $result = $in.read_float ();
01682 return $result;
01683 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01684 $in = $ex.getInputStream ();
01685 String _id = $ex.getId ();
01686 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01687 throw sctConf.ConfigurationExceptionHelper.read ($in);
01688 else
01689 throw new org.omg.CORBA.MARSHAL (_id);
01690 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01691 return getLVCardParam (crate, card, name, type );
01692 } finally {
01693 _releaseReply ($in);
01694 }
01695 }
01696
01697
01705 public float getPowerParam (int MUR, int number, String state, String name, String type) throws sctConf.ConfigurationException
01706 {
01707 org.omg.CORBA.portable.InputStream $in = null;
01708 try {
01709 org.omg.CORBA.portable.OutputStream $out = _request ("getPowerParam", true);
01710 $out.write_ulong (MUR);
01711 $out.write_ulong (number);
01712 $out.write_string (state);
01713 $out.write_string (name);
01714 $out.write_string (type);
01715 $in = _invoke ($out);
01716 float $result = $in.read_float ();
01717 return $result;
01718 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01719 $in = $ex.getInputStream ();
01720 String _id = $ex.getId ();
01721 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01722 throw sctConf.ConfigurationExceptionHelper.read ($in);
01723 else
01724 throw new org.omg.CORBA.MARSHAL (_id);
01725 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01726 return getPowerParam (MUR, number, state, name, type );
01727 } finally {
01728 _releaseReply ($in);
01729 }
01730 }
01731
01732
01740 public float getPowerParamCC (int crate, int channel, String state, String name, String type) throws sctConf.ConfigurationException
01741 {
01742 org.omg.CORBA.portable.InputStream $in = null;
01743 try {
01744 org.omg.CORBA.portable.OutputStream $out = _request ("getPowerParamCC", true);
01745 $out.write_ulong (crate);
01746 $out.write_ulong (channel);
01747 $out.write_string (state);
01748 $out.write_string (name);
01749 $out.write_string (type);
01750 $in = _invoke ($out);
01751 float $result = $in.read_float ();
01752 return $result;
01753 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01754 $in = $ex.getInputStream ();
01755 String _id = $ex.getId ();
01756 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01757 throw sctConf.ConfigurationExceptionHelper.read ($in);
01758 else
01759 throw new org.omg.CORBA.MARSHAL (_id);
01760 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01761 return getPowerParamCC (crate, channel, state, name, type );
01762 } finally {
01763 _releaseReply ($in);
01764 }
01765 }
01766
01767 public String[] listDefaultPowerParams () throws sctConf.ConfigurationException
01768 {
01769 org.omg.CORBA.portable.InputStream $in = null;
01770 try {
01771 org.omg.CORBA.portable.OutputStream $out = _request ("listDefaultPowerParams", true);
01772 $in = _invoke ($out);
01773 String $result[] = sctConf.NameListHelper.read ($in);
01774 return $result;
01775 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01776 $in = $ex.getInputStream ();
01777 String _id = $ex.getId ();
01778 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01779 throw sctConf.ConfigurationExceptionHelper.read ($in);
01780 else
01781 throw new org.omg.CORBA.MARSHAL (_id);
01782 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01783 return listDefaultPowerParams ( );
01784 } finally {
01785 _releaseReply ($in);
01786 }
01787 }
01788
01789 public String[] listDCSChannelParams () throws sctConf.ConfigurationException
01790 {
01791 org.omg.CORBA.portable.InputStream $in = null;
01792 try {
01793 org.omg.CORBA.portable.OutputStream $out = _request ("listDCSChannelParams", true);
01794 $in = _invoke ($out);
01795 String $result[] = sctConf.NameListHelper.read ($in);
01796 return $result;
01797 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01798 $in = $ex.getInputStream ();
01799 String _id = $ex.getId ();
01800 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01801 throw sctConf.ConfigurationExceptionHelper.read ($in);
01802 else
01803 throw new org.omg.CORBA.MARSHAL (_id);
01804 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01805 return listDCSChannelParams ( );
01806 } finally {
01807 _releaseReply ($in);
01808 }
01809 }
01810
01811 public String[] listDCSCardParams () throws sctConf.ConfigurationException
01812 {
01813 org.omg.CORBA.portable.InputStream $in = null;
01814 try {
01815 org.omg.CORBA.portable.OutputStream $out = _request ("listDCSCardParams", true);
01816 $in = _invoke ($out);
01817 String $result[] = sctConf.NameListHelper.read ($in);
01818 return $result;
01819 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01820 $in = $ex.getInputStream ();
01821 String _id = $ex.getId ();
01822 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01823 throw sctConf.ConfigurationExceptionHelper.read ($in);
01824 else
01825 throw new org.omg.CORBA.MARSHAL (_id);
01826 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01827 return listDCSCardParams ( );
01828 } finally {
01829 _releaseReply ($in);
01830 }
01831 }
01832
01833 public String[] listDCSCrateParams () throws sctConf.ConfigurationException
01834 {
01835 org.omg.CORBA.portable.InputStream $in = null;
01836 try {
01837 org.omg.CORBA.portable.OutputStream $out = _request ("listDCSCrateParams", true);
01838 $in = _invoke ($out);
01839 String $result[] = sctConf.NameListHelper.read ($in);
01840 return $result;
01841 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01842 $in = $ex.getInputStream ();
01843 String _id = $ex.getId ();
01844 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01845 throw sctConf.ConfigurationExceptionHelper.read ($in);
01846 else
01847 throw new org.omg.CORBA.MARSHAL (_id);
01848 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01849 return listDCSCrateParams ( );
01850 } finally {
01851 _releaseReply ($in);
01852 }
01853 }
01854
01855 public void configureBOCChannel (int MUR, int position, sctConf.BOCChannelConfig conf) throws sctConf.ConfigurationException
01856 {
01857 org.omg.CORBA.portable.InputStream $in = null;
01858 try {
01859 org.omg.CORBA.portable.OutputStream $out = _request ("configureBOCChannel", true);
01860 $out.write_ulong (MUR);
01861 $out.write_ulong (position);
01862 sctConf.BOCChannelConfigHelper.write ($out, conf);
01863 $in = _invoke ($out);
01864 return;
01865 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01866 $in = $ex.getInputStream ();
01867 String _id = $ex.getId ();
01868 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01869 throw sctConf.ConfigurationExceptionHelper.read ($in);
01870 else
01871 throw new org.omg.CORBA.MARSHAL (_id);
01872 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01873 configureBOCChannel (MUR, position, conf );
01874 } finally {
01875 _releaseReply ($in);
01876 }
01877 }
01878
01879 public void useMRSForMessages (boolean valid) throws sctConf.ConfigurationException
01880 {
01881 org.omg.CORBA.portable.InputStream $in = null;
01882 try {
01883 org.omg.CORBA.portable.OutputStream $out = _request ("useMRSForMessages", true);
01884 $out.write_boolean (valid);
01885 $in = _invoke ($out);
01886 return;
01887 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01888 $in = $ex.getInputStream ();
01889 String _id = $ex.getId ();
01890 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01891 throw sctConf.ConfigurationExceptionHelper.read ($in);
01892 else
01893 throw new org.omg.CORBA.MARSHAL (_id);
01894 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01895 useMRSForMessages (valid );
01896 } finally {
01897 _releaseReply ($in);
01898 }
01899 }
01900
01901 public void useISForChanges (boolean valid) throws sctConf.ConfigurationException
01902 {
01903 org.omg.CORBA.portable.InputStream $in = null;
01904 try {
01905 org.omg.CORBA.portable.OutputStream $out = _request ("useISForChanges", true);
01906 $out.write_boolean (valid);
01907 $in = _invoke ($out);
01908 return;
01909 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01910 $in = $ex.getInputStream ();
01911 String _id = $ex.getId ();
01912 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01913 throw sctConf.ConfigurationExceptionHelper.read ($in);
01914 else
01915 throw new org.omg.CORBA.MARSHAL (_id);
01916 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01917 useISForChanges (valid );
01918 } finally {
01919 _releaseReply ($in);
01920 }
01921 }
01922
01923 public void loadConfiguration (String filename) throws sctConf.ConfigurationException
01924 {
01925 org.omg.CORBA.portable.InputStream $in = null;
01926 try {
01927 org.omg.CORBA.portable.OutputStream $out = _request ("loadConfiguration", true);
01928 $out.write_string (filename);
01929 $in = _invoke ($out);
01930 return;
01931 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01932 $in = $ex.getInputStream ();
01933 String _id = $ex.getId ();
01934 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01935 throw sctConf.ConfigurationExceptionHelper.read ($in);
01936 else
01937 throw new org.omg.CORBA.MARSHAL (_id);
01938 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01939 loadConfiguration (filename );
01940 } finally {
01941 _releaseReply ($in);
01942 }
01943 }
01944
01945 public String getConfigurationFileName () throws sctConf.ConfigurationException
01946 {
01947 org.omg.CORBA.portable.InputStream $in = null;
01948 try {
01949 org.omg.CORBA.portable.OutputStream $out = _request ("getConfigurationFileName", true);
01950 $in = _invoke ($out);
01951 String $result = $in.read_string ();
01952 return $result;
01953 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01954 $in = $ex.getInputStream ();
01955 String _id = $ex.getId ();
01956 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01957 throw sctConf.ConfigurationExceptionHelper.read ($in);
01958 else
01959 throw new org.omg.CORBA.MARSHAL (_id);
01960 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01961 return getConfigurationFileName ( );
01962 } finally {
01963 _releaseReply ($in);
01964 }
01965 }
01966
01967 public void saveConfiguration (String filename) throws sctConf.ConfigurationException
01968 {
01969 org.omg.CORBA.portable.InputStream $in = null;
01970 try {
01971 org.omg.CORBA.portable.OutputStream $out = _request ("saveConfiguration", true);
01972 $out.write_string (filename);
01973 $in = _invoke ($out);
01974 return;
01975 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01976 $in = $ex.getInputStream ();
01977 String _id = $ex.getId ();
01978 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
01979 throw sctConf.ConfigurationExceptionHelper.read ($in);
01980 else
01981 throw new org.omg.CORBA.MARSHAL (_id);
01982 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
01983 saveConfiguration (filename );
01984 } finally {
01985 _releaseReply ($in);
01986 }
01987 }
01988
01989 public void saveModuleConfiguration (String sn, String filename) throws sctConf.ConfigurationException
01990 {
01991 org.omg.CORBA.portable.InputStream $in = null;
01992 try {
01993 org.omg.CORBA.portable.OutputStream $out = _request ("saveModuleConfiguration", true);
01994 $out.write_string (sn);
01995 $out.write_string (filename);
01996 $in = _invoke ($out);
01997 return;
01998 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
01999 $in = $ex.getInputStream ();
02000 String _id = $ex.getId ();
02001 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
02002 throw sctConf.ConfigurationExceptionHelper.read ($in);
02003 else
02004 throw new org.omg.CORBA.MARSHAL (_id);
02005 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02006 saveModuleConfiguration (sn, filename );
02007 } finally {
02008 _releaseReply ($in);
02009 }
02010 }
02011
02012 public String getModuleConfigurationString (String modsn, sctConf.ABCDModule config) throws sctConf.ConfigurationException
02013 {
02014 org.omg.CORBA.portable.InputStream $in = null;
02015 try {
02016 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleConfigurationString", true);
02017 $out.write_string (modsn);
02018 sctConf.ABCDModuleHelper.write ($out, config);
02019 $in = _invoke ($out);
02020 String $result = $in.read_string ();
02021 return $result;
02022 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02023 $in = $ex.getInputStream ();
02024 String _id = $ex.getId ();
02025 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
02026 throw sctConf.ConfigurationExceptionHelper.read ($in);
02027 else
02028 throw new org.omg.CORBA.MARSHAL (_id);
02029 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02030 return getModuleConfigurationString (modsn, config );
02031 } finally {
02032 _releaseReply ($in);
02033 }
02034 }
02035
02036 public void writePowerSupplyConfiguration (String directory) throws sctConf.ConfigurationException
02037 {
02038 org.omg.CORBA.portable.InputStream $in = null;
02039 try {
02040 org.omg.CORBA.portable.OutputStream $out = _request ("writePowerSupplyConfiguration", true);
02041 $out.write_string (directory);
02042 $in = _invoke ($out);
02043 return;
02044 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02045 $in = $ex.getInputStream ();
02046 String _id = $ex.getId ();
02047 if (_id.equals ("IDL:sctConf/ConfigurationException:1.0"))
02048 throw sctConf.ConfigurationExceptionHelper.read ($in);
02049 else
02050 throw new org.omg.CORBA.MARSHAL (_id);
02051 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02052 writePowerSupplyConfiguration (directory );
02053 } finally {
02054 _releaseReply ($in);
02055 }
02056 }
02057
02058 public ipc.servantPackage.info information ()
02059 {
02060 org.omg.CORBA.portable.InputStream $in = null;
02061 try {
02062 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
02063 $in = _invoke ($out);
02064 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
02065 return $result;
02066 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02067 $in = $ex.getInputStream ();
02068 String _id = $ex.getId ();
02069 throw new org.omg.CORBA.MARSHAL (_id);
02070 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02071 return information ( );
02072 } finally {
02073 _releaseReply ($in);
02074 }
02075 }
02076
02077 public void shutdown ()
02078 {
02079 org.omg.CORBA.portable.InputStream $in = null;
02080 try {
02081 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
02082 $in = _invoke ($out);
02083 return;
02084 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
02085 $in = $ex.getInputStream ();
02086 String _id = $ex.getId ();
02087 throw new org.omg.CORBA.MARSHAL (_id);
02088 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
02089 shutdown ( );
02090 } finally {
02091 _releaseReply ($in);
02092 }
02093 }
02094
02095
02096 private static String[] __ids = {
02097 "IDL:sctConf/Configuration:1.0",
02098 "IDL:ipc/servant:1.0"};
02099
02100 public String[] _ids ()
02101 {
02102 return (String[])__ids.clone ();
02103 }
02104
02105 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
02106 {
02107 String str = s.readUTF ();
02108 String[] args = null;
02109 java.util.Properties props = null;
02110 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
02111 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
02112 _set_delegate (delegate);
02113 }
02114
02115 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
02116 {
02117 String[] args = null;
02118 java.util.Properties props = null;
02119 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
02120 s.writeUTF (str);
02121 }
02122 }