1 package org.activeio.oneport;
2
3 /***
4 * Interface definition: TestIIOPServer.
5 *
6 * @author OpenORB Compiler
7 */
8 public abstract class TestIIOPServerPOA extends org.omg.PortableServer.Servant
9 implements TestIIOPServerOperations, org.omg.CORBA.portable.InvokeHandler
10 {
11 public TestIIOPServer _this()
12 {
13 return TestIIOPServerHelper.narrow(_this_object());
14 }
15
16 public TestIIOPServer _this(org.omg.CORBA.ORB orb)
17 {
18 return TestIIOPServerHelper.narrow(_this_object(orb));
19 }
20
21 private static String [] _ids_list =
22 {
23 "IDL:org/activeio/oneport/TestIIOPServer:1.0"
24 };
25
26 public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte [] objectId)
27 {
28 return _ids_list;
29 }
30
31 public final org.omg.CORBA.portable.OutputStream _invoke(final String opName,
32 final org.omg.CORBA.portable.InputStream _is,
33 final org.omg.CORBA.portable.ResponseHandler handler)
34 {
35
36 if (opName.equals("test")) {
37 return _invoke_test(_is, handler);
38 } else {
39 throw new org.omg.CORBA.BAD_OPERATION(opName);
40 }
41 }
42
43
44 private org.omg.CORBA.portable.OutputStream _invoke_test(
45 final org.omg.CORBA.portable.InputStream _is,
46 final org.omg.CORBA.portable.ResponseHandler handler) {
47 org.omg.CORBA.portable.OutputStream _output;
48
49 test();
50
51 _output = handler.createReply();
52
53 return _output;
54 }
55
56 }