_DebugOptionsCommonStub.java

00001 package Sct_SctApi;
00002 
00003 
00012 // Debug Options:
00013 public class _DebugOptionsCommonStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.DebugOptionsCommon
00014 {
00015 
00016   public void unsetDebugOption (String opt)
00017   {
00018             org.omg.CORBA.portable.InputStream $in = null;
00019             try {
00020                 org.omg.CORBA.portable.OutputStream $out = _request ("unsetDebugOption", true);
00021                 $out.write_string (opt);
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                 unsetDebugOption (opt        );
00030             } finally {
00031                 _releaseReply ($in);
00032             }
00033   } // unsetDebugOption
00034 
00035   public void setDebugOption (String opt)
00036   {
00037             org.omg.CORBA.portable.InputStream $in = null;
00038             try {
00039                 org.omg.CORBA.portable.OutputStream $out = _request ("setDebugOption", true);
00040                 $out.write_string (opt);
00041                 $in = _invoke ($out);
00042                 return;
00043             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00044                 $in = $ex.getInputStream ();
00045                 String _id = $ex.getId ();
00046                 throw new org.omg.CORBA.MARSHAL (_id);
00047             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00048                 setDebugOption (opt        );
00049             } finally {
00050                 _releaseReply ($in);
00051             }
00052   } // setDebugOption
00053 
00054   public String[] listDebugOptions ()
00055   {
00056             org.omg.CORBA.portable.InputStream $in = null;
00057             try {
00058                 org.omg.CORBA.portable.OutputStream $out = _request ("listDebugOptions", true);
00059                 $in = _invoke ($out);
00060                 String $result[] = Sct_SctApi.DebugOptionListHelper.read ($in);
00061                 return $result;
00062             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00063                 $in = $ex.getInputStream ();
00064                 String _id = $ex.getId ();
00065                 throw new org.omg.CORBA.MARSHAL (_id);
00066             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00067                 return listDebugOptions (        );
00068             } finally {
00069                 _releaseReply ($in);
00070             }
00071   } // listDebugOptions
00072 
00073   public void unsetBusy ()
00074   {
00075             org.omg.CORBA.portable.InputStream $in = null;
00076             try {
00077                 org.omg.CORBA.portable.OutputStream $out = _request ("unsetBusy", true);
00078                 $in = _invoke ($out);
00079                 return;
00080             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00081                 $in = $ex.getInputStream ();
00082                 String _id = $ex.getId ();
00083                 throw new org.omg.CORBA.MARSHAL (_id);
00084             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00085                 unsetBusy (        );
00086             } finally {
00087                 _releaseReply ($in);
00088             }
00089   } // unsetBusy
00090 
00091   // Type-specific CORBA::Object operations
00092   private static String[] __ids = {
00093     "IDL:Sct_SctApi/DebugOptionsCommon:1.0"};
00094 
00095   public String[] _ids ()
00096   {
00097     return (String[])__ids.clone ();
00098   }
00099 
00100   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00101   {
00102      String str = s.readUTF ();
00103      String[] args = null;
00104      java.util.Properties props = null;
00105      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00106      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00107      _set_delegate (delegate);
00108   }
00109 
00110   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00111   {
00112      String[] args = null;
00113      java.util.Properties props = null;
00114      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00115      s.writeUTF (str);
00116   }
00117 } // class _DebugOptionsCommonStub

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