_DebugOptionsJustCrateStub.java

00001 package Sct_SctApi;
00002 
00003 
00011 public class _DebugOptionsJustCrateStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.DebugOptionsJustCrate
00012 {
00013 
00014   public String[] listEnabledDebugOptions ()
00015   {
00016             org.omg.CORBA.portable.InputStream $in = null;
00017             try {
00018                 org.omg.CORBA.portable.OutputStream $out = _request ("listEnabledDebugOptions", true);
00019                 $in = _invoke ($out);
00020                 String $result[] = Sct_SctApi.DebugOptionListHelper.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 listEnabledDebugOptions (        );
00028             } finally {
00029                 _releaseReply ($in);
00030             }
00031   } // listEnabledDebugOptions
00032 
00033   public void standardRegisterDumpRod (int rod)
00034   {
00035             org.omg.CORBA.portable.InputStream $in = null;
00036             try {
00037                 org.omg.CORBA.portable.OutputStream $out = _request ("standardRegisterDumpRod", true);
00038                 $out.write_ulong (rod);
00039                 $in = _invoke ($out);
00040                 return;
00041             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00042                 $in = $ex.getInputStream ();
00043                 String _id = $ex.getId ();
00044                 throw new org.omg.CORBA.MARSHAL (_id);
00045             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00046                 standardRegisterDumpRod (rod        );
00047             } finally {
00048                 _releaseReply ($in);
00049             }
00050   } // standardRegisterDumpRod
00051 
00052 
00053   // These are used only by SctApiGUI
00054   public void testLinkOutSelect (int rod, int link)
00055   {
00056             org.omg.CORBA.portable.InputStream $in = null;
00057             try {
00058                 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutSelect", true);
00059                 $out.write_ulong (rod);
00060                 $out.write_ulong (link);
00061                 $in = _invoke ($out);
00062                 return;
00063             } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00064                 $in = $ex.getInputStream ();
00065                 String _id = $ex.getId ();
00066                 throw new org.omg.CORBA.MARSHAL (_id);
00067             } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00068                 testLinkOutSelect (rod, link        );
00069             } finally {
00070                 _releaseReply ($in);
00071             }
00072   } // testLinkOutSelect
00073 
00074   public int testLinkOutRetrieve (int rod)
00075   {
00076             org.omg.CORBA.portable.InputStream $in = null;
00077             try {
00078                 org.omg.CORBA.portable.OutputStream $out = _request ("testLinkOutRetrieve", true);
00079                 $out.write_ulong (rod);
00080                 $in = _invoke ($out);
00081                 int $result = $in.read_ulong ();
00082                 return $result;
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                 return testLinkOutRetrieve (rod        );
00089             } finally {
00090                 _releaseReply ($in);
00091             }
00092   } // testLinkOutRetrieve
00093 
00094   public int getRodSlot (int rod)
00095   {
00096             org.omg.CORBA.portable.InputStream $in = null;
00097             try {
00098                 org.omg.CORBA.portable.OutputStream $out = _request ("getRodSlot", true);
00099                 $out.write_ulong (rod);
00100                 $in = _invoke ($out);
00101                 int $result = $in.read_ulong ();
00102                 return $result;
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                 return getRodSlot (rod        );
00109             } finally {
00110                 _releaseReply ($in);
00111             }
00112   } // getRodSlot
00113 
00114   public boolean isRODPresent (int rod)
00115   {
00116             org.omg.CORBA.portable.InputStream $in = null;
00117             try {
00118                 org.omg.CORBA.portable.OutputStream $out = _request ("isRODPresent", true);
00119                 $out.write_ulong (rod);
00120                 $in = _invoke ($out);
00121                 boolean $result = $in.read_boolean ();
00122                 return $result;
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                 return isRODPresent (rod        );
00129             } finally {
00130                 _releaseReply ($in);
00131             }
00132   } // isRODPresent
00133 
00134   // Type-specific CORBA::Object operations
00135   private static String[] __ids = {
00136     "IDL:Sct_SctApi/DebugOptionsJustCrate:1.0"};
00137 
00138   public String[] _ids ()
00139   {
00140     return (String[])__ids.clone ();
00141   }
00142 
00143   private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00144   {
00145      String str = s.readUTF ();
00146      String[] args = null;
00147      java.util.Properties props = null;
00148      org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00149      org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00150      _set_delegate (delegate);
00151   }
00152 
00153   private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00154   {
00155      String[] args = null;
00156      java.util.Properties props = null;
00157      String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00158      s.writeUTF (str);
00159   }
00160 } // class _DebugOptionsJustCrateStub

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