00001 package Sct_SctApi;
00002
00003
00012
00013 public class _DebugSTDOUTStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_SctApi.DebugSTDOUT
00014 {
00015
00016 public void printABCDModule (int mid)
00017 {
00018 org.omg.CORBA.portable.InputStream $in = null;
00019 try {
00020 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDModule", 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 printABCDModule (mid );
00030 } finally {
00031 _releaseReply ($in);
00032 }
00033 }
00034
00035 public void printABCDRodModule (int mid, Sct_SctApi.BankType bank)
00036 {
00037 org.omg.CORBA.portable.InputStream $in = null;
00038 try {
00039 org.omg.CORBA.portable.OutputStream $out = _request ("printABCDRodModule", true);
00040 $out.write_ulong (mid);
00041 Sct_SctApi.BankTypeHelper.write ($out, bank);
00042 $in = _invoke ($out);
00043 return;
00044 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00045 $in = $ex.getInputStream ();
00046 String _id = $ex.getId ();
00047 throw new org.omg.CORBA.MARSHAL (_id);
00048 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00049 printABCDRodModule (mid, bank );
00050 } finally {
00051 _releaseReply ($in);
00052 }
00053 }
00054
00055 public void decodeEvent (int partition, int crate, int rod, short sl, short index, boolean extFlag, boolean errorType)
00056 {
00057 org.omg.CORBA.portable.InputStream $in = null;
00058 try {
00059 org.omg.CORBA.portable.OutputStream $out = _request ("decodeEvent", true);
00060 $out.write_ulong (partition);
00061 $out.write_ulong (crate);
00062 $out.write_ulong (rod);
00063 $out.write_short (sl);
00064 $out.write_short (index);
00065 $out.write_boolean (extFlag);
00066 $out.write_boolean (errorType);
00067 $in = _invoke ($out);
00068 return;
00069 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00070 $in = $ex.getInputStream ();
00071 String _id = $ex.getId ();
00072 throw new org.omg.CORBA.MARSHAL (_id);
00073 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00074 decodeEvent (partition, crate, rod, sl, index, extFlag, errorType );
00075 } finally {
00076 _releaseReply ($in);
00077 }
00078 }
00079
00080
00081 private static String[] __ids = {
00082 "IDL:Sct_SctApi/DebugSTDOUT:1.0"};
00083
00084 public String[] _ids ()
00085 {
00086 return (String[])__ids.clone ();
00087 }
00088
00089 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00090 {
00091 String str = s.readUTF ();
00092 String[] args = null;
00093 java.util.Properties props = null;
00094 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00095 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00096 _set_delegate (delegate);
00097 }
00098
00099 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00100 {
00101 String[] args = null;
00102 java.util.Properties props = null;
00103 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00104 s.writeUTF (str);
00105 }
00106 }