1 package com.sun.corba.se.PortableActivationIDL; 2 3 4 10 11 12 14 public class _ServerProxyStub extends org.omg.CORBA.portable.ObjectImpl implements com.sun.corba.se.PortableActivationIDL.ServerProxy 15 { 16 17 18 20 public void shutdown () 21 { 22 org.omg.CORBA.portable.InputStream $in = null; 23 try { 24 org.omg.CORBA.portable.OutputStream $out = _request ("shutdown", true); 25 $in = _invoke ($out); 26 return; 27 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 28 $in = $ex.getInputStream (); 29 String _id = $ex.getId (); 30 throw new org.omg.CORBA.MARSHAL (_id); 31 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 32 shutdown ( ); 33 } finally { 34 _releaseReply ($in); 35 } 36 } 38 39 42 public void install () 43 { 44 org.omg.CORBA.portable.InputStream $in = null; 45 try { 46 org.omg.CORBA.portable.OutputStream $out = _request ("install", true); 47 $in = _invoke ($out); 48 return; 49 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 50 $in = $ex.getInputStream (); 51 String _id = $ex.getId (); 52 throw new org.omg.CORBA.MARSHAL (_id); 53 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 54 install ( ); 55 } finally { 56 _releaseReply ($in); 57 } 58 } 60 61 64 public void uninstall () 65 { 66 org.omg.CORBA.portable.InputStream $in = null; 67 try { 68 org.omg.CORBA.portable.OutputStream $out = _request ("uninstall", true); 69 $in = _invoke ($out); 70 return; 71 } catch (org.omg.CORBA.portable.ApplicationException $ex) { 72 $in = $ex.getInputStream (); 73 String _id = $ex.getId (); 74 throw new org.omg.CORBA.MARSHAL (_id); 75 } catch (org.omg.CORBA.portable.RemarshalException $rm) { 76 uninstall ( ); 77 } finally { 78 _releaseReply ($in); 79 } 80 } 82 private static String [] __ids = { 84 "IDL:PortableActivationIDL/ServerProxy:1.0"}; 85 86 public String [] _ids () 87 { 88 return (String [])__ids.clone (); 89 } 90 91 private void readObject (java.io.ObjectInputStream s) throws java.io.IOException 92 { 93 String str = s.readUTF (); 94 String [] args = null; 95 java.util.Properties props = null; 96 org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init (args, props).string_to_object (str); 97 org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl ) obj)._get_delegate (); 98 _set_delegate (delegate); 99 } 100 101 private void writeObject (java.io.ObjectOutputStream s) throws java.io.IOException 102 { 103 String [] args = null; 104 java.util.Properties props = null; 105 String str = org.omg.CORBA.ORB.init (args, props).object_to_string (this); 106 s.writeUTF (str); 107 } 108 } | Popular Tags |