_SctApiDDCServerStub.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class _SctApiDDCServerStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.SctApiDDCServer
00012 {
00013 
00014   public ipc.servantPackage.info information ()
00015   {
00016             org.omg.CORBA.portable.InputStream $in = null;
00017             try {
00018                 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00019                 $in = _invoke ($out);
00020                 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00021                 return $result;
00022             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00023                 $in = $ex.getInputStream ();
00024                 String _id = $ex.getId ();
00025                 throw new org.omg.CORBA.MARSHAL (_id);
00026             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00027                 return information (        );
00028             } finally {
00029                 _releaseReply ($in);
00030             }
00031   } // information
00032 
00033   public void shutdown ()
00034   {
00035             org.omg.CORBA.portable.InputStream $in = null;
00036             try {
00037                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00038                 $in = _invoke ($out);
00039                 return;
00040             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00041                 $in = $ex.getInputStream ();
00042                 String _id = $ex.getId ();
00043                 throw new org.omg.CORBA.MARSHAL (_id);
00044             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00045                 shutdown (        );
00046             } finally {
00047                 _releaseReply ($in);
00048             }
00049   } // shutdown
00050 
00051   public void requestHardReset (int mid)
00052   {
00053             org.omg.CORBA.portable.InputStream $in = null;
00054             try {
00055                 org.omg.CORBA.portable.OutputStream $out = _request ("requestHardReset", true);
00056                 $out.write_ulong (mid);
00057                 $in = _invoke ($out);
00058                 return;
00059             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00060                 $in = $ex.getInputStream ();
00061                 String _id = $ex.getId ();
00062                 throw new org.omg.CORBA.MARSHAL (_id);
00063             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00064                 requestHardReset (mid        );
00065             } finally {
00066                 _releaseReply ($in);
00067             }
00068   } // requestHardReset
00069 
00070   public void requestIVCurve (int mid, float start, float stop, float step, short delay, float currentLim)
00071   {
00072             org.omg.CORBA.portable.InputStream $in = null;
00073             try {
00074                 org.omg.CORBA.portable.OutputStream $out = _request ("requestIVCurve", true);
00075                 $out.write_ulong (mid);
00076                 $out.write_float (start);
00077                 $out.write_float (stop);
00078                 $out.write_float (step);
00079                 $out.write_ushort (delay);
00080                 $out.write_float (currentLim);
00081                 $in = _invoke ($out);
00082                 return;
00083             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00084                 $in = $ex.getInputStream ();
00085                 String _id = $ex.getId ();
00086                 throw new org.omg.CORBA.MARSHAL (_id);
00087             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00088                 requestIVCurve (mid, start, stop, step, delay, currentLim        );
00089             } finally {
00090                 _releaseReply ($in);
00091             }
00092   } // requestIVCurve
00093 
00094   public void setSelect (int mid, boolean value)
00095   {
00096             org.omg.CORBA.portable.InputStream $in = null;
00097             try {
00098                 org.omg.CORBA.portable.OutputStream $out = _request ("setSelect", true);
00099                 $out.write_ulong (mid);
00100                 $out.write_boolean (value);
00101                 $in = _invoke ($out);
00102                 return;
00103             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00104                 $in = $ex.getInputStream ();
00105                 String _id = $ex.getId ();
00106                 throw new org.omg.CORBA.MARSHAL (_id);
00107             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00108                 setSelect (mid, value        );
00109             } finally {
00110                 _releaseReply ($in);
00111             }
00112   } // setSelect
00113 
00114   public void setSelectAllInCrate (int crate, boolean value)
00115   {
00116             org.omg.CORBA.portable.InputStream $in = null;
00117             try {
00118                 org.omg.CORBA.portable.OutputStream $out = _request ("setSelectAllInCrate", true);
00119                 $out.write_long (crate);
00120                 $out.write_boolean (value);
00121                 $in = _invoke ($out);
00122                 return;
00123             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00124                 $in = $ex.getInputStream ();
00125                 String _id = $ex.getId ();
00126                 throw new org.omg.CORBA.MARSHAL (_id);
00127             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00128                 setSelectAllInCrate (crate, value        );
00129             } finally {
00130                 _releaseReply ($in);
00131             }
00132   } // setSelectAllInCrate
00133 
00134   public void changeRunState (int state)
00135   {
00136             org.omg.CORBA.portable.InputStream $in = null;
00137             try {
00138                 org.omg.CORBA.portable.OutputStream $out = _request ("changeRunState", true);
00139                 $out.write_long (state);
00140                 $in = _invoke ($out);
00141                 return;
00142             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00143                 $in = $ex.getInputStream ();
00144                 String _id = $ex.getId ();
00145                 throw new org.omg.CORBA.MARSHAL (_id);
00146             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00147                 changeRunState (state        );
00148             } finally {
00149                 _releaseReply ($in);
00150             }
00151   } // changeRunState
00152 
00153 
00154   //                                 out long dpeValue);          // Put timeout in here?
00155   public void ddcSetSingleTimeout (short timeout)
00156   {
00157             org.omg.CORBA.portable.InputStream $in = null;
00158             try {
00159                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcSetSingleTimeout", true);
00160                 $out.write_short (timeout);
00161                 $in = _invoke ($out);
00162                 return;
00163             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00164                 $in = $ex.getInputStream ();
00165                 String _id = $ex.getId ();
00166                 throw new org.omg.CORBA.MARSHAL (_id);
00167             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00168                 ddcSetSingleTimeout (timeout        );
00169             } finally {
00170                 _releaseReply ($in);
00171             }
00172   } // ddcSetSingleTimeout
00173 
00174   public short ddcGetSingleTimeout ()
00175   {
00176             org.omg.CORBA.portable.InputStream $in = null;
00177             try {
00178                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetSingleTimeout", true);
00179                 $in = _invoke ($out);
00180                 short $result = $in.read_short ();
00181                 return $result;
00182             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00183                 $in = $ex.getInputStream ();
00184                 String _id = $ex.getId ();
00185                 throw new org.omg.CORBA.MARSHAL (_id);
00186             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00187                 return ddcGetSingleTimeout (        );
00188             } finally {
00189                 _releaseReply ($in);
00190             }
00191   } // ddcGetSingleTimeout
00192 
00193   public void ddcSetMultipleTimeout (short timeout)
00194   {
00195             org.omg.CORBA.portable.InputStream $in = null;
00196             try {
00197                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcSetMultipleTimeout", true);
00198                 $out.write_short (timeout);
00199                 $in = _invoke ($out);
00200                 return;
00201             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00202                 $in = $ex.getInputStream ();
00203                 String _id = $ex.getId ();
00204                 throw new org.omg.CORBA.MARSHAL (_id);
00205             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00206                 ddcSetMultipleTimeout (timeout        );
00207             } finally {
00208                 _releaseReply ($in);
00209             }
00210   } // ddcSetMultipleTimeout
00211 
00212   public short ddcGetMultipleTimeout ()
00213   {
00214             org.omg.CORBA.portable.InputStream $in = null;
00215             try {
00216                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetMultipleTimeout", true);
00217                 $in = _invoke ($out);
00218                 short $result = $in.read_short ();
00219                 return $result;
00220             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00221                 $in = $ex.getInputStream ();
00222                 String _id = $ex.getId ();
00223                 throw new org.omg.CORBA.MARSHAL (_id);
00224             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00225                 return ddcGetMultipleTimeout (        );
00226             } finally {
00227                 _releaseReply ($in);
00228             }
00229   } // ddcGetMultipleTimeout
00230 
00231   public void ddcChangeState (int crate, int channel, short state)
00232   {
00233             org.omg.CORBA.portable.InputStream $in = null;
00234             try {
00235                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcChangeState", true);
00236                 $out.write_long (crate);
00237                 $out.write_long (channel);
00238                 $out.write_short (state);
00239                 $in = _invoke ($out);
00240                 return;
00241             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00242                 $in = $ex.getInputStream ();
00243                 String _id = $ex.getId ();
00244                 throw new org.omg.CORBA.MARSHAL (_id);
00245             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00246                 ddcChangeState (crate, channel, state        );
00247             } finally {
00248                 _releaseReply ($in);
00249             }
00250   } // ddcChangeState
00251 
00252 
00253   // MultipleTimeout
00254   public void ddcChangeStates (int crate, String name, short state)
00255   {
00256             org.omg.CORBA.portable.InputStream $in = null;
00257             try {
00258                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcChangeStates", true);
00259                 $out.write_long (crate);
00260                 $out.write_string (name);
00261                 $out.write_short (state);
00262                 $in = _invoke ($out);
00263                 return;
00264             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00265                 $in = $ex.getInputStream ();
00266                 String _id = $ex.getId ();
00267                 throw new org.omg.CORBA.MARSHAL (_id);
00268             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00269                 ddcChangeStates (crate, name, state        );
00270             } finally {
00271                 _releaseReply ($in);
00272             }
00273   } // ddcChangeStates
00274 
00275 
00276   // MultipleTimeout
00277   public void ddcChangeStateAll (int crate, short state)
00278   {
00279             org.omg.CORBA.portable.InputStream $in = null;
00280             try {
00281                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcChangeStateAll", true);
00282                 $out.write_long (crate);
00283                 $out.write_short (state);
00284                 $in = _invoke ($out);
00285                 return;
00286             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00287                 $in = $ex.getInputStream ();
00288                 String _id = $ex.getId ();
00289                 throw new org.omg.CORBA.MARSHAL (_id);
00290             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00291                 ddcChangeStateAll (crate, state        );
00292             } finally {
00293                 _releaseReply ($in);
00294             }
00295   } // ddcChangeStateAll
00296 
00297 
00298   // MultipleTimeout
00299   public void ddcLoadConfiguration (int crate, short state)
00300   {
00301             org.omg.CORBA.portable.InputStream $in = null;
00302             try {
00303                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcLoadConfiguration", true);
00304                 $out.write_long (crate);
00305                 $out.write_short (state);
00306                 $in = _invoke ($out);
00307                 return;
00308             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00309                 $in = $ex.getInputStream ();
00310                 String _id = $ex.getId ();
00311                 throw new org.omg.CORBA.MARSHAL (_id);
00312             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00313                 ddcLoadConfiguration (crate, state        );
00314             } finally {
00315                 _releaseReply ($in);
00316             }
00317   } // ddcLoadConfiguration
00318 
00319 
00320   // MultipleTimeout
00321   public void ddcHardReset (int crate, int channel)
00322   {
00323             org.omg.CORBA.portable.InputStream $in = null;
00324             try {
00325                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcHardReset", true);
00326                 $out.write_long (crate);
00327                 $out.write_long (channel);
00328                 $in = _invoke ($out);
00329                 return;
00330             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00331                 $in = $ex.getInputStream ();
00332                 String _id = $ex.getId ();
00333                 throw new org.omg.CORBA.MARSHAL (_id);
00334             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00335                 ddcHardReset (crate, channel        );
00336             } finally {
00337                 _releaseReply ($in);
00338             }
00339   } // ddcHardReset
00340 
00341 
00342   // SingleTimeout
00343   public void ddcHardResetAll (int crate)
00344   {
00345             org.omg.CORBA.portable.InputStream $in = null;
00346             try {
00347                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcHardResetAll", true);
00348                 $out.write_long (crate);
00349                 $in = _invoke ($out);
00350                 return;
00351             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00352                 $in = $ex.getInputStream ();
00353                 String _id = $ex.getId ();
00354                 throw new org.omg.CORBA.MARSHAL (_id);
00355             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00356                 ddcHardResetAll (crate        );
00357             } finally {
00358                 _releaseReply ($in);
00359             }
00360   } // ddcHardResetAll
00361 
00362 
00363   // MultipleTimeout
00364   public int ddcGetChannelParameterInt (int crate, int channel, String name)
00365   {
00366             org.omg.CORBA.portable.InputStream $in = null;
00367             try {
00368                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetChannelParameterInt", true);
00369                 $out.write_long (crate);
00370                 $out.write_long (channel);
00371                 $out.write_string (name);
00372                 $in = _invoke ($out);
00373                 int $result = $in.read_ulong ();
00374                 return $result;
00375             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00376                 $in = $ex.getInputStream ();
00377                 String _id = $ex.getId ();
00378                 throw new org.omg.CORBA.MARSHAL (_id);
00379             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00380                 return ddcGetChannelParameterInt (crate, channel, name        );
00381             } finally {
00382                 _releaseReply ($in);
00383             }
00384   } // ddcGetChannelParameterInt
00385 
00386 
00387   // SingleTimeout
00388   public float ddcGetChannelParameterFloat (int crate, int channel, String name)
00389   {
00390             org.omg.CORBA.portable.InputStream $in = null;
00391             try {
00392                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetChannelParameterFloat", true);
00393                 $out.write_long (crate);
00394                 $out.write_long (channel);
00395                 $out.write_string (name);
00396                 $in = _invoke ($out);
00397                 float $result = $in.read_float ();
00398                 return $result;
00399             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00400                 $in = $ex.getInputStream ();
00401                 String _id = $ex.getId ();
00402                 throw new org.omg.CORBA.MARSHAL (_id);
00403             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00404                 return ddcGetChannelParameterFloat (crate, channel, name        );
00405             } finally {
00406                 _releaseReply ($in);
00407             }
00408   } // ddcGetChannelParameterFloat
00409 
00410 
00411   // SingleTimeout
00412   public String ddcGetChannelParameterString (int crate, int channel, String name)
00413   {
00414             org.omg.CORBA.portable.InputStream $in = null;
00415             try {
00416                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetChannelParameterString", true);
00417                 $out.write_long (crate);
00418                 $out.write_long (channel);
00419                 $out.write_string (name);
00420                 $in = _invoke ($out);
00421                 String $result = $in.read_string ();
00422                 return $result;
00423             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00424                 $in = $ex.getInputStream ();
00425                 String _id = $ex.getId ();
00426                 throw new org.omg.CORBA.MARSHAL (_id);
00427             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00428                 return ddcGetChannelParameterString (crate, channel, name        );
00429             } finally {
00430                 _releaseReply ($in);
00431             }
00432   } // ddcGetChannelParameterString
00433 
00434 
00435   // SingleTimeout
00436   public int ddcGetCardParameterInt (int crate, int card, String name)
00437   {
00438             org.omg.CORBA.portable.InputStream $in = null;
00439             try {
00440                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCardParameterInt", true);
00441                 $out.write_long (crate);
00442                 $out.write_long (card);
00443                 $out.write_string (name);
00444                 $in = _invoke ($out);
00445                 int $result = $in.read_ulong ();
00446                 return $result;
00447             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00448                 $in = $ex.getInputStream ();
00449                 String _id = $ex.getId ();
00450                 throw new org.omg.CORBA.MARSHAL (_id);
00451             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00452                 return ddcGetCardParameterInt (crate, card, name        );
00453             } finally {
00454                 _releaseReply ($in);
00455             }
00456   } // ddcGetCardParameterInt
00457 
00458 
00459   // SingleTimeout
00460   public float ddcGetCardParameterFloat (int crate, int card, String name)
00461   {
00462             org.omg.CORBA.portable.InputStream $in = null;
00463             try {
00464                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCardParameterFloat", true);
00465                 $out.write_long (crate);
00466                 $out.write_long (card);
00467                 $out.write_string (name);
00468                 $in = _invoke ($out);
00469                 float $result = $in.read_float ();
00470                 return $result;
00471             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00472                 $in = $ex.getInputStream ();
00473                 String _id = $ex.getId ();
00474                 throw new org.omg.CORBA.MARSHAL (_id);
00475             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00476                 return ddcGetCardParameterFloat (crate, card, name        );
00477             } finally {
00478                 _releaseReply ($in);
00479             }
00480   } // ddcGetCardParameterFloat
00481 
00482 
00483   // SingleTimeout
00484   public String ddcGetCardParameterString (int crate, int card, String name)
00485   {
00486             org.omg.CORBA.portable.InputStream $in = null;
00487             try {
00488                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCardParameterString", true);
00489                 $out.write_long (crate);
00490                 $out.write_long (card);
00491                 $out.write_string (name);
00492                 $in = _invoke ($out);
00493                 String $result = $in.read_string ();
00494                 return $result;
00495             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00496                 $in = $ex.getInputStream ();
00497                 String _id = $ex.getId ();
00498                 throw new org.omg.CORBA.MARSHAL (_id);
00499             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00500                 return ddcGetCardParameterString (crate, card, name        );
00501             } finally {
00502                 _releaseReply ($in);
00503             }
00504   } // ddcGetCardParameterString
00505 
00506 
00507   // SingleTimeout
00508   public int ddcGetCrateParameterInt (int crate, String name)
00509   {
00510             org.omg.CORBA.portable.InputStream $in = null;
00511             try {
00512                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameterInt", true);
00513                 $out.write_long (crate);
00514                 $out.write_string (name);
00515                 $in = _invoke ($out);
00516                 int $result = $in.read_ulong ();
00517                 return $result;
00518             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00519                 $in = $ex.getInputStream ();
00520                 String _id = $ex.getId ();
00521                 throw new org.omg.CORBA.MARSHAL (_id);
00522             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00523                 return ddcGetCrateParameterInt (crate, name        );
00524             } finally {
00525                 _releaseReply ($in);
00526             }
00527   } // ddcGetCrateParameterInt
00528 
00529 
00530   // SingleTimeout
00531   public float ddcGetCrateParameterFloat (int crate, String name)
00532   {
00533             org.omg.CORBA.portable.InputStream $in = null;
00534             try {
00535                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameterFloat", true);
00536                 $out.write_long (crate);
00537                 $out.write_string (name);
00538                 $in = _invoke ($out);
00539                 float $result = $in.read_float ();
00540                 return $result;
00541             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00542                 $in = $ex.getInputStream ();
00543                 String _id = $ex.getId ();
00544                 throw new org.omg.CORBA.MARSHAL (_id);
00545             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00546                 return ddcGetCrateParameterFloat (crate, name        );
00547             } finally {
00548                 _releaseReply ($in);
00549             }
00550   } // ddcGetCrateParameterFloat
00551 
00552 
00553   // SingleTimeout
00554   public String ddcGetCrateParameterString (int crate, String name)
00555   {
00556             org.omg.CORBA.portable.InputStream $in = null;
00557             try {
00558                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameterString", true);
00559                 $out.write_long (crate);
00560                 $out.write_string (name);
00561                 $in = _invoke ($out);
00562                 String $result = $in.read_string ();
00563                 return $result;
00564             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00565                 $in = $ex.getInputStream ();
00566                 String _id = $ex.getId ();
00567                 throw new org.omg.CORBA.MARSHAL (_id);
00568             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00569                 return ddcGetCrateParameterString (crate, name        );
00570             } finally {
00571                 _releaseReply ($in);
00572             }
00573   } // ddcGetCrateParameterString
00574 
00575 
00576   // SingleTimeout
00577   public void ddcGetCrateParameters (int crate, String[] names, Sct_SctApi.NameValueListHolder nameValues)
00578   {
00579             org.omg.CORBA.portable.InputStream $in = null;
00580             try {
00581                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcGetCrateParameters", true);
00582                 $out.write_long (crate);
00583                 Sct_SctApi.NameListHelper.write ($out, names);
00584                 $in = _invoke ($out);
00585                 nameValues.value = Sct_SctApi.NameValueListHelper.read ($in);
00586                 return;
00587             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00588                 $in = $ex.getInputStream ();
00589                 String _id = $ex.getId ();
00590                 throw new org.omg.CORBA.MARSHAL (_id);
00591             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00592                 ddcGetCrateParameters (crate, names, nameValues        );
00593             } finally {
00594                 _releaseReply ($in);
00595             }
00596   } // ddcGetCrateParameters
00597 
00598 
00599   // Also set DDC parameters...
00600   public void ddcSetCrateParameterFloat (int crate, String name, float value)
00601   {
00602             org.omg.CORBA.portable.InputStream $in = null;
00603             try {
00604                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcSetCrateParameterFloat", true);
00605                 $out.write_long (crate);
00606                 $out.write_string (name);
00607                 $out.write_float (value);
00608                 $in = _invoke ($out);
00609                 return;
00610             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00611                 $in = $ex.getInputStream ();
00612                 String _id = $ex.getId ();
00613                 throw new org.omg.CORBA.MARSHAL (_id);
00614             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00615                 ddcSetCrateParameterFloat (crate, name, value        );
00616             } finally {
00617                 _releaseReply ($in);
00618             }
00619   } // ddcSetCrateParameterFloat
00620 
00621 
00622   // SingleTimeout
00623   public void ddcSetCardParameterFloat (int crate, int card, String name, float value)
00624   {
00625             org.omg.CORBA.portable.InputStream $in = null;
00626             try {
00627                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcSetCardParameterFloat", true);
00628                 $out.write_long (crate);
00629                 $out.write_long (card);
00630                 $out.write_string (name);
00631                 $out.write_float (value);
00632                 $in = _invoke ($out);
00633                 return;
00634             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00635                 $in = $ex.getInputStream ();
00636                 String _id = $ex.getId ();
00637                 throw new org.omg.CORBA.MARSHAL (_id);
00638             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00639                 ddcSetCardParameterFloat (crate, card, name, value        );
00640             } finally {
00641                 _releaseReply ($in);
00642             }
00643   } // ddcSetCardParameterFloat
00644 
00645 
00646   // SingleTimeout
00647   public void ddcSetChannelParameterFloat (int crate, int channel, String name, float value)
00648   {
00649             org.omg.CORBA.portable.InputStream $in = null;
00650             try {
00651                 org.omg.CORBA.portable.OutputStream $out = _request ("ddcSetChannelParameterFloat", true);
00652                 $out.write_long (crate);
00653                 $out.write_long (channel);
00654                 $out.write_string (name);
00655                 $out.write_float (value);
00656                 $in = _invoke ($out);
00657                 return;
00658             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00659                 $in = $ex.getInputStream ();
00660                 String _id = $ex.getId ();
00661                 throw new org.omg.CORBA.MARSHAL (_id);
00662             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00663                 ddcSetChannelParameterFloat (crate, channel, name, value        );
00664             } finally {
00665                 _releaseReply ($in);
00666             }
00667   } // ddcSetChannelParameterFloat
00668 
00669   // Type-specific CORBA::Object operations
00670   private static String[] __ids = {
00671     "IDL:Sct_SctApi/SctApiDDCServer:1.0", 
00672     "IDL:ipc/servant:1.0", 
00673     "IDL:Sct_SctApi/SctApiDDCServerMethods:1.0"};
00674 
00675   public String[] _ids ()
00676   {
00677     return (String[])__ids.clone ();
00678   }
00679 
00680   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00681   {
00682      String str = s.readUTF ();
00683      String[] args = null;
00684      java.util.Properties props = null;
00685      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00686      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00687      _set_delegate (delegate);
00688   }
00689 
00690   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00691   {
00692      String[] args = null;
00693      java.util.Properties props = null;
00694      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00695      s.writeUTF (str);
00696   }
00697 } // class _SctApiDDCServerStub

Generated on Mon Feb 6 14:12:05 2006 for SCT DAQ/DCS Software - Java by  doxygen 1.4.6