00001 package Sct.Corba;
00002
00003
00011 public class _DeletableServantStub extends org.omg.CORBA.portable.ObjectImpl implements Sct.Corba.DeletableServant
00012 {
00013
00014 public void deleteServant ()
00015 {
00016 org.omg.CORBA.portable.InputStream $in = null;
00017 try {
00018 org.omg.CORBA.portable.OutputStream $out = _request ("deleteServant", true);
00019 $in = _invoke ($out);
00020 return;
00021 } catch (org.omg.CORBA.portable.ApplicationException $ex) {
00022 $in = $ex.getInputStream ();
00023 String _id = $ex.getId ();
00024 throw new org.omg.CORBA.MARSHAL (_id);
00025 } catch (org.omg.CORBA.portable.RemarshalException $rm) {
00026 deleteServant ( );
00027 } finally {
00028 _releaseReply ($in);
00029 }
00030 }
00031
00032
00033 private static String[] __ids = {
00034 "IDL:Sct/Corba/DeletableServant:1.0"};
00035
00036 public String[] _ids ()
00037 {
00038 return (String[])__ids.clone ();
00039 }
00040
00041 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException
00042 {
00043 String str = s.readUTF ();
00044 String[] args = null;
00045 java.util.Properties props = null;
00046 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str);
00047 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
00048 _set_delegate (delegate);
00049 }
00050
00051 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException
00052 {
00053 String[] args = null;
00054 java.util.Properties props = null;
00055 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this);
00056 s.writeUTF (str);
00057 }
00058 }