1 package com.sun.corba.se.PortableActivationIDL; 2 3 4 10 11 12 14 public abstract class _ServerProxyImplBase extends org.omg.CORBA.portable.ObjectImpl 15 implements com.sun.corba.se.PortableActivationIDL.ServerProxy, org.omg.CORBA.portable.InvokeHandler 16 { 17 18 public _ServerProxyImplBase () 20 { 21 } 22 23 private static java.util.Hashtable _methods = new java.util.Hashtable (); 24 static 25 { 26 _methods.put ("shutdown", new java.lang.Integer (0)); 27 _methods.put ("install", new java.lang.Integer (1)); 28 _methods.put ("uninstall", new java.lang.Integer (2)); 29 } 30 31 public org.omg.CORBA.portable.OutputStream _invoke (String $method, 32 org.omg.CORBA.portable.InputStream in, 33 org.omg.CORBA.portable.ResponseHandler $rh) 34 { 35 org.omg.CORBA.portable.OutputStream out = null; 36 java.lang.Integer __method = (java.lang.Integer )_methods.get ($method); 37 if (__method == null) 38 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); 39 40 switch (__method.intValue ()) 41 { 42 43 45 case 0: { 47 this.shutdown (); 48 out = $rh.createReply(); 49 break; 50 } 51 52 53 56 case 1: { 58 this.install (); 59 out = $rh.createReply(); 60 break; 61 } 62 63 64 67 case 2: { 69 this.uninstall (); 70 out = $rh.createReply(); 71 break; 72 } 73 74 default: 75 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); 76 } 77 78 return out; 79 } 81 private static String [] __ids = { 83 "IDL:PortableActivationIDL/ServerProxy:1.0"}; 84 85 public String [] _ids () 86 { 87 return (String [])__ids.clone (); 88 } 89 90 91 } | Popular Tags |