/* * File: ./ClientApp/_ClientQueryImplBase.java * From: ClientApp.idl * Date: Mon Feb 2 14:28:18 1998 * By: idltojava JavaIDL Wed Mar 5 17:02:26 1997 */ package ClientApp; public abstract class _ClientQueryImplBase extends org.omg.CORBA.portable.ObjectImpl implements ClientApp.ClientQuery, org.omg.CORBA.portable.Skeleton { static private org.omg.CORBA.portable.OperationDescriptor[][] _dispatch_table; static { _dispatch_table = new org.omg.CORBA.portable.OperationDescriptor[1][0]; _dispatch_table[0] = ClientApp._ClientQueryStub._get_operations(); } public org.omg.CORBA.portable.OperationDescriptor[][] _get_dispatch_table() { return _dispatch_table; } // Constructor public _ClientQueryImplBase() { super(null); } // Type strings for this class and its superclases private static String _type_ids[] = { "IDL:ClientApp/ClientQuery:1.0" }; public String[] _get_ids() { return _type_ids; } // Dispatch call public java.lang.Object _execute(int intf, int op, long[] n, java.lang.Object[] o, org.omg.CORBA.Context ctx) throws java.lang.Exception { return ClientApp._ClientQueryImplBase._execute(this, op, n, o, ctx); } public static java.lang.Object _execute(ClientApp.ClientQuery self, int op, long[] n, java.lang.Object[] o, org.omg.CORBA.Context ctx) throws java.lang.Exception { switch (op) { case 0: // ClientApp.ClientQuery.search { self.search( (String)o[0]); } break; case 1: // ClientApp.ClientQuery.getName { String __result = self.getName( ); o[0] = __result; } break; case 2: // ClientApp.ClientQuery.getAge { String __result = self.getAge( ); o[0] = __result; } break; case 3: // ClientApp.ClientQuery.getOcc { String __result = self.getOcc( ); o[0] = __result; } break; case 4: // ClientApp.ClientQuery.open { self.open( ); } break; case 5: // ClientApp.ClientQuery.close { self.close( ); } break; default: throw new org.omg.CORBA.BAD_OPERATION(0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE); } return null; } }