1 package com.sun.corba.se.PortableActivationIDL; 2 3 4 10 11 12 14 public class _ORBProxyStub extends org.omg.CORBA.portable.ObjectImpl implements com.sun.corba.se.PortableActivationIDL.ORBProxy 15 { 16 17 18 24 public boolean activate_adapter (String [] name) 25 { 26 org.omg.CORBA.portable.InputStream $in = null; 27 try { 28 org.omg.CORBA.portable.OutputStream $out = _request ("activate_adapter", true); 29 org.omg.PortableInterceptor.AdapterNameHelper.write ($out, name); 30 $in = _invoke ($out); 31 boolean $result = $in.read_boolean (); 32 return $result; 33 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 34 $in = $ex.getInputStream (); 35 String _id = $ex.getId (); 36 throw new org.omg.CORBA.MARSHAL (_id); 37 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 38 return activate_adapter (name ); 39 } finally { 40 _releaseReply ($in); 41 } 42 } 44 private static String [] __ids = { 46 "IDL:PortableActivationIDL/ORBProxy:1.0"}; 47 48 public String [] _ids () 49 { 50 return (String [])__ids.clone (); 51 } 52 53 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 54 { 55 String str = s.readUTF (); 56 String [] args = null; 57 java.util.Properties props = null; 58 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 59 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 60 _set_delegate (delegate); 61 } 62 63 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 64 { 65 String [] args = null; 66 java.util.Properties props = null; 67 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 68 s.writeUTF (str); 69 } 70 } | Popular Tags |