00001 package Sct_SctApi;
00002
00003
00012
00013 public class _TriggerRODLevelStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.TriggerRODLevel
00014 {
00015
00016 public void sendL1A (int partition, int crate, int rod)
00017 {
00018 org.omg.CORBA.portable.InputStream $in = null;
00019 try {
00020 org.omg.CORBA.portable.OutputStream $out = _request ("sendL1A", true);
00021 $out.write_ulong (partition);
00022 $out.write_ulong (crate);
00023 $out.write_ulong (rod);
00024 $in = _invoke ($out);
00025 return;
00026 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00027 $in = $ex.getInputStream ();
00028 String _id = $ex.getId ();
00029 throw new org.omg.CORBA.MARSHAL (_id);
00030 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00031 sendL1A (partition, crate, rod );
00032 } finally {
00033 _releaseReply ($in);
00034 }
00035 }
00036
00037 public void sendRodTrigger (int partition, int crate, int rod, Sct_SctApi.Trigger trig)
00038 {
00039 org.omg.CORBA.portable.InputStream $in = null;
00040 try {
00041 org.omg.CORBA.portable.OutputStream $out = _request ("sendRodTrigger", true);
00042 $out.write_ulong (partition);
00043 $out.write_ulong (crate);
00044 $out.write_ulong (rod);
00045 Sct_SctApi.TriggerHelper.write ($out, trig);
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 sendRodTrigger (partition, crate, rod, trig );
00054 } finally {
00055 _releaseReply ($in);
00056 }
00057 }
00058
00059
00060 private static String[] __ids = {
00061 "IDL:Sct_SctApi/TriggerRODLevel:1.0"};
00062
00063 public String[] _ids ()
00064 {
00065 return (String[])__ids.clone ();
00066 }
00067
00068 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00069 {
00070 String str = s.readUTF ();
00071 String[] args = null;
00072 java.util.Properties props = null;
00073 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00074 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00075 _set_delegate (delegate);
00076 }
00077
00078 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00079 {
00080 String[] args = null;
00081 java.util.Properties props = null;
00082 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00083 s.writeUTF (str);
00084 }
00085 }