_ScanStub.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class _ScanStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.Scan
00012 {
00013 
00014   public void configure (short type, double start, double stop, double step)
00015   {
00016             org.omg.CORBA.portable.InputStream $in = null;
00017             try {
00018                 org.omg.CORBA.portable.OutputStream $out = _request ("configure", true);
00019                 $out.write_ushort (type);
00020                 $out.write_double (start);
00021                 $out.write_double (stop);
00022                 $out.write_double (step);
00023                 $in = _invoke ($out);
00024                 return;
00025             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00026                 $in = $ex.getInputStream ();
00027                 String _id = $ex.getId ();
00028                 throw new org.omg.CORBA.MARSHAL (_id);
00029             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00030                 configure (type, start, stop, step        );
00031             } finally {
00032                 _releaseReply ($in);
00033             }
00034   } // configure
00035 
00036   public void configure2 (short type, double start, double stop, double step)
00037   {
00038             org.omg.CORBA.portable.InputStream $in = null;
00039             try {
00040                 org.omg.CORBA.portable.OutputStream $out = _request ("configure2", true);
00041                 $out.write_ushort (type);
00042                 $out.write_double (start);
00043                 $out.write_double (stop);
00044                 $out.write_double (step);
00045                 $in = _invoke ($out);
00046                 return;
00047             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00048                 $in = $ex.getInputStream ();
00049                 String _id = $ex.getId ();
00050                 throw new org.omg.CORBA.MARSHAL (_id);
00051             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00052                 configure2 (type, start, stop, step        );
00053             } finally {
00054                 _releaseReply ($in);
00055             }
00056   } // configure2
00057 
00058   public Sct_SctApi.Trigger getTrigger1 ()
00059   {
00060             org.omg.CORBA.portable.InputStream $in = null;
00061             try {
00062                 org.omg.CORBA.portable.OutputStream $out = _request ("getTrigger1", true);
00063                 $in = _invoke ($out);
00064                 Sct_SctApi.Trigger $result = Sct_SctApi.TriggerHelper.read ($in);
00065                 return $result;
00066             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00067                 $in = $ex.getInputStream ();
00068                 String _id = $ex.getId ();
00069                 throw new org.omg.CORBA.MARSHAL (_id);
00070             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00071                 return getTrigger1 (        );
00072             } finally {
00073                 _releaseReply ($in);
00074             }
00075   } // getTrigger1
00076 
00077   public Sct_SctApi.Trigger getTrigger2 ()
00078   {
00079             org.omg.CORBA.portable.InputStream $in = null;
00080             try {
00081                 org.omg.CORBA.portable.OutputStream $out = _request ("getTrigger2", true);
00082                 $in = _invoke ($out);
00083                 Sct_SctApi.Trigger $result = Sct_SctApi.TriggerHelper.read ($in);
00084                 return $result;
00085             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00086                 $in = $ex.getInputStream ();
00087                 String _id = $ex.getId ();
00088                 throw new org.omg.CORBA.MARSHAL (_id);
00089             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00090                 return getTrigger2 (        );
00091             } finally {
00092                 _releaseReply ($in);
00093             }
00094   } // getTrigger2
00095 
00096 
00097   // Only throw cause they're not implemented!
00098   public void setTrigger1 (Sct_SctApi.Trigger trig) throws Sct_SctApi.SctApiException
00099   {
00100             org.omg.CORBA.portable.InputStream $in = null;
00101             try {
00102                 org.omg.CORBA.portable.OutputStream $out = _request ("setTrigger1", true);
00103                 Sct_SctApi.TriggerHelper.write ($out, trig);
00104                 $in = _invoke ($out);
00105                 return;
00106             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00107                 $in = $ex.getInputStream ();
00108                 String _id = $ex.getId ();
00109                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00110                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00111                 else
00112                     throw new org.omg.CORBA.MARSHAL (_id);
00113             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00114                 setTrigger1 (trig        );
00115             } finally {
00116                 _releaseReply ($in);
00117             }
00118   } // setTrigger1
00119 
00120   public void setTrigger2 (Sct_SctApi.Trigger trig) throws Sct_SctApi.SctApiException
00121   {
00122             org.omg.CORBA.portable.InputStream $in = null;
00123             try {
00124                 org.omg.CORBA.portable.OutputStream $out = _request ("setTrigger2", true);
00125                 Sct_SctApi.TriggerHelper.write ($out, trig);
00126                 $in = _invoke ($out);
00127                 return;
00128             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00129                 $in = $ex.getInputStream ();
00130                 String _id = $ex.getId ();
00131                 if (_id.equals ("IDL:Sct_SctApi/SctApiException:1.0"))
00132                     throw Sct_SctApi.SctApiExceptionHelper.read ($in);
00133                 else
00134                     throw new org.omg.CORBA.MARSHAL (_id);
00135             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00136                 setTrigger2 (trig        );
00137             } finally {
00138                 _releaseReply ($in);
00139             }
00140   } // setTrigger2
00141 
00142   public void setScanVariable1 (short var)
00143   {
00144             org.omg.CORBA.portable.InputStream $in = null;
00145             try {
00146                 org.omg.CORBA.portable.OutputStream $out = _request ("setScanVariable1", true);
00147                 $out.write_ushort (var);
00148                 $in = _invoke ($out);
00149                 return;
00150             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00151                 $in = $ex.getInputStream ();
00152                 String _id = $ex.getId ();
00153                 throw new org.omg.CORBA.MARSHAL (_id);
00154             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00155                 setScanVariable1 (var        );
00156             } finally {
00157                 _releaseReply ($in);
00158             }
00159   } // setScanVariable1
00160 
00161   public void setScanVariable2 (short var)
00162   {
00163             org.omg.CORBA.portable.InputStream $in = null;
00164             try {
00165                 org.omg.CORBA.portable.OutputStream $out = _request ("setScanVariable2", true);
00166                 $out.write_ushort (var);
00167                 $in = _invoke ($out);
00168                 return;
00169             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00170                 $in = $ex.getInputStream ();
00171                 String _id = $ex.getId ();
00172                 throw new org.omg.CORBA.MARSHAL (_id);
00173             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00174                 setScanVariable2 (var        );
00175             } finally {
00176                 _releaseReply ($in);
00177             }
00178   } // setScanVariable2
00179 
00180   public short getScanVariable1 ()
00181   {
00182             org.omg.CORBA.portable.InputStream $in = null;
00183             try {
00184                 org.omg.CORBA.portable.OutputStream $out = _request ("getScanVariable1", true);
00185                 $in = _invoke ($out);
00186                 short $result = $in.read_ushort ();
00187                 return $result;
00188             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00189                 $in = $ex.getInputStream ();
00190                 String _id = $ex.getId ();
00191                 throw new org.omg.CORBA.MARSHAL (_id);
00192             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00193                 return getScanVariable1 (        );
00194             } finally {
00195                 _releaseReply ($in);
00196             }
00197   } // getScanVariable1
00198 
00199   public short getScanVariable2 ()
00200   {
00201             org.omg.CORBA.portable.InputStream $in = null;
00202             try {
00203                 org.omg.CORBA.portable.OutputStream $out = _request ("getScanVariable2", true);
00204                 $in = _invoke ($out);
00205                 short $result = $in.read_ushort ();
00206                 return $result;
00207             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00208                 $in = $ex.getInputStream ();
00209                 String _id = $ex.getId ();
00210                 throw new org.omg.CORBA.MARSHAL (_id);
00211             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00212                 return getScanVariable2 (        );
00213             } finally {
00214                 _releaseReply ($in);
00215             }
00216   } // getScanVariable2
00217 
00218   public void setNTrigs (int nTrigs)
00219   {
00220             org.omg.CORBA.portable.InputStream $in = null;
00221             try {
00222                 org.omg.CORBA.portable.OutputStream $out = _request ("setNTrigs", true);
00223                 $out.write_ulong (nTrigs);
00224                 $in = _invoke ($out);
00225                 return;
00226             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00227                 $in = $ex.getInputStream ();
00228                 String _id = $ex.getId ();
00229                 throw new org.omg.CORBA.MARSHAL (_id);
00230             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00231                 setNTrigs (nTrigs        );
00232             } finally {
00233                 _releaseReply ($in);
00234             }
00235   } // setNTrigs
00236 
00237   public int getNTrigs ()
00238   {
00239             org.omg.CORBA.portable.InputStream $in = null;
00240             try {
00241                 org.omg.CORBA.portable.OutputStream $out = _request ("getNTrigs", true);
00242                 $in = _invoke ($out);
00243                 int $result = $in.read_ulong ();
00244                 return $result;
00245             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00246                 $in = $ex.getInputStream ();
00247                 String _id = $ex.getId ();
00248                 throw new org.omg.CORBA.MARSHAL (_id);
00249             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00250                 return getNTrigs (        );
00251             } finally {
00252                 _releaseReply ($in);
00253             }
00254   } // getNTrigs
00255 
00256   public int[] getVariableTrigs ()
00257   {
00258             org.omg.CORBA.portable.InputStream $in = null;
00259             try {
00260                 org.omg.CORBA.portable.OutputStream $out = _request ("getVariableTrigs", true);
00261                 $in = _invoke ($out);
00262                 int $result[] = Sct_SctApi.ScanPackage.TrigPointsHelper.read ($in);
00263                 return $result;
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                 return getVariableTrigs (        );
00270             } finally {
00271                 _releaseReply ($in);
00272             }
00273   } // getVariableTrigs
00274 
00275   public void setVariableTrigs (int[] trigs)
00276   {
00277             org.omg.CORBA.portable.InputStream $in = null;
00278             try {
00279                 org.omg.CORBA.portable.OutputStream $out = _request ("setVariableTrigs", true);
00280                 Sct_SctApi.ScanPackage.TrigPointsHelper.write ($out, trigs);
00281                 $in = _invoke ($out);
00282                 return;
00283             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00284                 $in = $ex.getInputStream ();
00285                 String _id = $ex.getId ();
00286                 throw new org.omg.CORBA.MARSHAL (_id);
00287             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00288                 setVariableTrigs (trigs        );
00289             } finally {
00290                 _releaseReply ($in);
00291             }
00292   } // setVariableTrigs
00293 
00294   public void setVariableTrigRange (short start, short end, int value)
00295   {
00296             org.omg.CORBA.portable.InputStream $in = null;
00297             try {
00298                 org.omg.CORBA.portable.OutputStream $out = _request ("setVariableTrigRange", true);
00299                 $out.write_ushort (start);
00300                 $out.write_ushort (end);
00301                 $out.write_ulong (value);
00302                 $in = _invoke ($out);
00303                 return;
00304             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00305                 $in = $ex.getInputStream ();
00306                 String _id = $ex.getId ();
00307                 throw new org.omg.CORBA.MARSHAL (_id);
00308             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00309                 setVariableTrigRange (start, end, value        );
00310             } finally {
00311                 _releaseReply ($in);
00312             }
00313   } // setVariableTrigRange
00314 
00315   public double[] getScanPoints1 ()
00316   {
00317             org.omg.CORBA.portable.InputStream $in = null;
00318             try {
00319                 org.omg.CORBA.portable.OutputStream $out = _request ("getScanPoints1", true);
00320                 $in = _invoke ($out);
00321                 double $result[] = Sct_SctApi.ScanPackage.ScanPointsHelper.read ($in);
00322                 return $result;
00323             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00324                 $in = $ex.getInputStream ();
00325                 String _id = $ex.getId ();
00326                 throw new org.omg.CORBA.MARSHAL (_id);
00327             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00328                 return getScanPoints1 (        );
00329             } finally {
00330                 _releaseReply ($in);
00331             }
00332   } // getScanPoints1
00333 
00334   public double[] getScanPoints2 ()
00335   {
00336             org.omg.CORBA.portable.InputStream $in = null;
00337             try {
00338                 org.omg.CORBA.portable.OutputStream $out = _request ("getScanPoints2", true);
00339                 $in = _invoke ($out);
00340                 double $result[] = Sct_SctApi.ScanPackage.ScanPointsHelper.read ($in);
00341                 return $result;
00342             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00343                 $in = $ex.getInputStream ();
00344                 String _id = $ex.getId ();
00345                 throw new org.omg.CORBA.MARSHAL (_id);
00346             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00347                 return getScanPoints2 (        );
00348             } finally {
00349                 _releaseReply ($in);
00350             }
00351   } // getScanPoints2
00352 
00353   public void setScanPoints1 (double[] scans)
00354   {
00355             org.omg.CORBA.portable.InputStream $in = null;
00356             try {
00357                 org.omg.CORBA.portable.OutputStream $out = _request ("setScanPoints1", true);
00358                 Sct_SctApi.ScanPackage.ScanPointsHelper.write ($out, scans);
00359                 $in = _invoke ($out);
00360                 return;
00361             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00362                 $in = $ex.getInputStream ();
00363                 String _id = $ex.getId ();
00364                 throw new org.omg.CORBA.MARSHAL (_id);
00365             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00366                 setScanPoints1 (scans        );
00367             } finally {
00368                 _releaseReply ($in);
00369             }
00370   } // setScanPoints1
00371 
00372   public void setScanPoints2 (double[] scans)
00373   {
00374             org.omg.CORBA.portable.InputStream $in = null;
00375             try {
00376                 org.omg.CORBA.portable.OutputStream $out = _request ("setScanPoints2", true);
00377                 Sct_SctApi.ScanPackage.ScanPointsHelper.write ($out, scans);
00378                 $in = _invoke ($out);
00379                 return;
00380             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00381                 $in = $ex.getInputStream ();
00382                 String _id = $ex.getId ();
00383                 throw new org.omg.CORBA.MARSHAL (_id);
00384             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00385                 setScanPoints2 (scans        );
00386             } finally {
00387                 _releaseReply ($in);
00388             }
00389   } // setScanPoints2
00390 
00391   public int getOption (Sct_SctApi.ScanPackage.ScanOptions opt)
00392   {
00393             org.omg.CORBA.portable.InputStream $in = null;
00394             try {
00395                 org.omg.CORBA.portable.OutputStream $out = _request ("getOption", true);
00396                 Sct_SctApi.ScanPackage.ScanOptionsHelper.write ($out, opt);
00397                 $in = _invoke ($out);
00398                 int $result = $in.read_long ();
00399                 return $result;
00400             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00401                 $in = $ex.getInputStream ();
00402                 String _id = $ex.getId ();
00403                 throw new org.omg.CORBA.MARSHAL (_id);
00404             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00405                 return getOption (opt        );
00406             } finally {
00407                 _releaseReply ($in);
00408             }
00409   } // getOption
00410 
00411   public void setOption (Sct_SctApi.ScanPackage.ScanOptions opt, int val)
00412   {
00413             org.omg.CORBA.portable.InputStream $in = null;
00414             try {
00415                 org.omg.CORBA.portable.OutputStream $out = _request ("setOption", true);
00416                 Sct_SctApi.ScanPackage.ScanOptionsHelper.write ($out, opt);
00417                 $out.write_long (val);
00418                 $in = _invoke ($out);
00419                 return;
00420             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00421                 $in = $ex.getInputStream ();
00422                 String _id = $ex.getId ();
00423                 throw new org.omg.CORBA.MARSHAL (_id);
00424             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00425                 setOption (opt, val        );
00426             } finally {
00427                 _releaseReply ($in);
00428             }
00429   } // setOption
00430 
00431   public String print ()
00432   {
00433             org.omg.CORBA.portable.InputStream $in = null;
00434             try {
00435                 org.omg.CORBA.portable.OutputStream $out = _request ("print", true);
00436                 $in = _invoke ($out);
00437                 String $result = $in.read_string ();
00438                 return $result;
00439             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00440                 $in = $ex.getInputStream ();
00441                 String _id = $ex.getId ();
00442                 throw new org.omg.CORBA.MARSHAL (_id);
00443             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00444                 return print (        );
00445             } finally {
00446                 _releaseReply ($in);
00447             }
00448   } // print
00449 
00450   public void setScanNumber (int scan)
00451   {
00452             org.omg.CORBA.portable.InputStream $in = null;
00453             try {
00454                 org.omg.CORBA.portable.OutputStream $out = _request ("setScanNumber", true);
00455                 $out.write_ulong (scan);
00456                 $in = _invoke ($out);
00457                 return;
00458             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00459                 $in = $ex.getInputStream ();
00460                 String _id = $ex.getId ();
00461                 throw new org.omg.CORBA.MARSHAL (_id);
00462             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00463                 setScanNumber (scan        );
00464             } finally {
00465                 _releaseReply ($in);
00466             }
00467   } // setScanNumber
00468 
00469   public int getScanNumber ()
00470   {
00471             org.omg.CORBA.portable.InputStream $in = null;
00472             try {
00473                 org.omg.CORBA.portable.OutputStream $out = _request ("getScanNumber", true);
00474                 $in = _invoke ($out);
00475                 int $result = $in.read_ulong ();
00476                 return $result;
00477             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00478                 $in = $ex.getInputStream ();
00479                 String _id = $ex.getId ();
00480                 throw new org.omg.CORBA.MARSHAL (_id);
00481             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00482                 return getScanNumber (        );
00483             } finally {
00484                 _releaseReply ($in);
00485             }
00486   } // getScanNumber
00487 
00488   public void setRunNumber (int scan)
00489   {
00490             org.omg.CORBA.portable.InputStream $in = null;
00491             try {
00492                 org.omg.CORBA.portable.OutputStream $out = _request ("setRunNumber", true);
00493                 $out.write_ulong (scan);
00494                 $in = _invoke ($out);
00495                 return;
00496             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00497                 $in = $ex.getInputStream ();
00498                 String _id = $ex.getId ();
00499                 throw new org.omg.CORBA.MARSHAL (_id);
00500             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00501                 setRunNumber (scan        );
00502             } finally {
00503                 _releaseReply ($in);
00504             }
00505   } // setRunNumber
00506 
00507   public int getRunNumber ()
00508   {
00509             org.omg.CORBA.portable.InputStream $in = null;
00510             try {
00511                 org.omg.CORBA.portable.OutputStream $out = _request ("getRunNumber", true);
00512                 $in = _invoke ($out);
00513                 int $result = $in.read_ulong ();
00514                 return $result;
00515             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00516                 $in = $ex.getInputStream ();
00517                 String _id = $ex.getId ();
00518                 throw new org.omg.CORBA.MARSHAL (_id);
00519             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00520                 return getRunNumber (        );
00521             } finally {
00522                 _releaseReply ($in);
00523             }
00524   } // getRunNumber
00525 
00526   public String[] getModuleList (int group)
00527   {
00528             org.omg.CORBA.portable.InputStream $in = null;
00529             try {
00530                 org.omg.CORBA.portable.OutputStream $out = _request ("getModuleList", true);
00531                 $out.write_ulong (group);
00532                 $in = _invoke ($out);
00533                 String $result[] = sctConf.ModuleListHelper.read ($in);
00534                 return $result;
00535             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00536                 $in = $ex.getInputStream ();
00537                 String _id = $ex.getId ();
00538                 throw new org.omg.CORBA.MARSHAL (_id);
00539             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00540                 return getModuleList (group        );
00541             } finally {
00542                 _releaseReply ($in);
00543             }
00544   } // getModuleList
00545 
00546   public void setModuleList (int group, String[] newList)
00547   {
00548             org.omg.CORBA.portable.InputStream $in = null;
00549             try {
00550                 org.omg.CORBA.portable.OutputStream $out = _request ("setModuleList", true);
00551                 $out.write_ulong (group);
00552                 sctConf.ModuleListHelper.write ($out, newList);
00553                 $in = _invoke ($out);
00554                 return;
00555             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00556                 $in = $ex.getInputStream ();
00557                 String _id = $ex.getId ();
00558                 throw new org.omg.CORBA.MARSHAL (_id);
00559             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00560                 setModuleList (group, newList        );
00561             } finally {
00562                 _releaseReply ($in);
00563             }
00564   } // setModuleList
00565 
00566   public int getNGroups ()
00567   {
00568             org.omg.CORBA.portable.InputStream $in = null;
00569             try {
00570                 org.omg.CORBA.portable.OutputStream $out = _request ("getNGroups", true);
00571                 $in = _invoke ($out);
00572                 int $result = $in.read_ulong ();
00573                 return $result;
00574             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00575                 $in = $ex.getInputStream ();
00576                 String _id = $ex.getId ();
00577                 throw new org.omg.CORBA.MARSHAL (_id);
00578             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00579                 return getNGroups (        );
00580             } finally {
00581                 _releaseReply ($in);
00582             }
00583   } // getNGroups
00584 
00585   public void setNGroups (short val)
00586   {
00587             org.omg.CORBA.portable.InputStream $in = null;
00588             try {
00589                 org.omg.CORBA.portable.OutputStream $out = _request ("setNGroups", true);
00590                 $out.write_ushort (val);
00591                 $in = _invoke ($out);
00592                 return;
00593             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00594                 $in = $ex.getInputStream ();
00595                 String _id = $ex.getId ();
00596                 throw new org.omg.CORBA.MARSHAL (_id);
00597             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00598                 setNGroups (val        );
00599             } finally {
00600                 _releaseReply ($in);
00601             }
00602   } // setNGroups
00603 
00604 
00606   public String getStartTime ()
00607   {
00608             org.omg.CORBA.portable.InputStream $in = null;
00609             try {
00610                 org.omg.CORBA.portable.OutputStream $out = _request ("getStartTime", true);
00611                 $in = _invoke ($out);
00612                 String $result = $in.read_string ();
00613                 return $result;
00614             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00615                 $in = $ex.getInputStream ();
00616                 String _id = $ex.getId ();
00617                 throw new org.omg.CORBA.MARSHAL (_id);
00618             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00619                 return getStartTime (        );
00620             } finally {
00621                 _releaseReply ($in);
00622             }
00623   } // getStartTime
00624 
00625   public void setStartTime (String t)
00626   {
00627             org.omg.CORBA.portable.InputStream $in = null;
00628             try {
00629                 org.omg.CORBA.portable.OutputStream $out = _request ("setStartTime", true);
00630                 $out.write_string (t);
00631                 $in = _invoke ($out);
00632                 return;
00633             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00634                 $in = $ex.getInputStream ();
00635                 String _id = $ex.getId ();
00636                 throw new org.omg.CORBA.MARSHAL (_id);
00637             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00638                 setStartTime (t        );
00639             } finally {
00640                 _releaseReply ($in);
00641             }
00642   } // setStartTime
00643 
00644 
00646   public String getEndTime ()
00647   {
00648             org.omg.CORBA.portable.InputStream $in = null;
00649             try {
00650                 org.omg.CORBA.portable.OutputStream $out = _request ("getEndTime", true);
00651                 $in = _invoke ($out);
00652                 String $result = $in.read_string ();
00653                 return $result;
00654             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00655                 $in = $ex.getInputStream ();
00656                 String _id = $ex.getId ();
00657                 throw new org.omg.CORBA.MARSHAL (_id);
00658             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00659                 return getEndTime (        );
00660             } finally {
00661                 _releaseReply ($in);
00662             }
00663   } // getEndTime
00664 
00665   public void setEndTime (String t)
00666   {
00667             org.omg.CORBA.portable.InputStream $in = null;
00668             try {
00669                 org.omg.CORBA.portable.OutputStream $out = _request ("setEndTime", true);
00670                 $out.write_string (t);
00671                 $in = _invoke ($out);
00672                 return;
00673             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00674                 $in = $ex.getInputStream ();
00675                 String _id = $ex.getId ();
00676                 throw new org.omg.CORBA.MARSHAL (_id);
00677             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00678                 setEndTime (t        );
00679             } finally {
00680                 _releaseReply ($in);
00681             }
00682   } // setEndTime
00683 
00684   public ipc.servantPackage.info information ()
00685   {
00686             org.omg.CORBA.portable.InputStream $in = null;
00687             try {
00688                 org.omg.CORBA.portable.OutputStream $out = _request ("_get_information", true);
00689                 $in = _invoke ($out);
00690                 ipc.servantPackage.info $result = ipc.servantPackage.infoHelper.read ($in);
00691                 return $result;
00692             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00693                 $in = $ex.getInputStream ();
00694                 String _id = $ex.getId ();
00695                 throw new org.omg.CORBA.MARSHAL (_id);
00696             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00697                 return information (        );
00698             } finally {
00699                 _releaseReply ($in);
00700             }
00701   } // information
00702 
00703   public void shutdown ()
00704   {
00705             org.omg.CORBA.portable.InputStream $in = null;
00706             try {
00707                 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true);
00708                 $in = _invoke ($out);
00709                 return;
00710             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00711                 $in = $ex.getInputStream ();
00712                 String _id = $ex.getId ();
00713                 throw new org.omg.CORBA.MARSHAL (_id);
00714             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00715                 shutdown (        );
00716             } finally {
00717                 _releaseReply ($in);
00718             }
00719   } // shutdown
00720 
00721   // Type-specific CORBA::Object operations
00722   private static String[] __ids = {
00723     "IDL:Sct_SctApi/Scan:1.0", 
00724     "IDL:ipc/servant:1.0"};
00725 
00726   public String[] _ids ()
00727   {
00728     return (String[])__ids.clone ();
00729   }
00730 
00731   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00732   {
00733      String str = s.readUTF ();
00734      String[] args = null;
00735      java.util.Properties props = null;
00736      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00737      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00738      _set_delegate (delegate);
00739   }
00740 
00741   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00742   {
00743      String[] args = null;
00744      java.util.Properties props = null;
00745      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00746      s.writeUTF (str);
00747   }
00748 } // class _ScanStub

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