00001 package Sct_CalibrationController;
00002
00003
00011 public class _TestLibraryStub extends org.omg.CORBA.portable.ObjectImpl implements Sct_CalibrationController.TestLibrary
00012 {
00013
00014 public Sct_CalibrationController.TestRequest getTestRequestByName (String name)
00015 {
00016 org.omg.CORBA.portable.InputStream $in = null;
00017 try {
00018 org.omg.CORBA.portable.OutputStream $out = _request ("getTestRequestByName", true);
00019 $out.write_string (name);
00020 $in = _invoke ($out);
00021 Sct_CalibrationController.TestRequest $result = Sct_CalibrationController.TestRequestHelper.read ($in);
00022 return $result;
00023 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00024 $in = $ex.getInputStream ();
00025 String _id = $ex.getId ();
00026 throw new org.omg.CORBA.MARSHAL (_id);
00027 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00028 return getTestRequestByName (name );
00029 } finally {
00030 _releaseReply ($in);
00031 }
00032 }
00033
00034 public String[] getTestNames ()
00035 {
00036 org.omg.CORBA.portable.InputStream $in = null;
00037 try {
00038 org.omg.CORBA.portable.OutputStream $out = _request ("getTestNames", true);
00039 $in = _invoke ($out);
00040 String $result[] = Sct_CalibrationController.TestLibraryPackage.StringsHelper.read ($in);
00041 return $result;
00042 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00043 $in = $ex.getInputStream ();
00044 String _id = $ex.getId ();
00045 throw new org.omg.CORBA.MARSHAL (_id);
00046 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00047 return getTestNames ( );
00048 } finally {
00049 _releaseReply ($in);
00050 }
00051 }
00052
00053
00054 private static String[] __ids = {
00055 "IDL:Sct_CalibrationController/TestLibrary:1.0"};
00056
00057 public String[] _ids ()
00058 {
00059 return (String[])__ids.clone ();
00060 }
00061
00062 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00063 {
00064 String str = s.readUTF ();
00065 String[] args = null;
00066 java.util.Properties props = null;
00067 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00068 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00069 _set_delegate (delegate);
00070 }
00071
00072 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00073 {
00074 String[] args = null;
00075 java.util.Properties props = null;
00076 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00077 s.writeUTF (str);
00078 }
00079 }