_SctApiDDCServerMethodsStub.java

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

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