1 package FIPA;
2
3
4 /***
5 * FIPA/_MTSImplBase.java
6 * Generated by the IDL-to-Java compiler (portable), version "3.0"
7 * from FIPA.idl
8 * 09 March 2001 16:39:32 o'clock GMT
9 */
10
11 public abstract class _MTSImplBase extends org.omg.CORBA.portable.ObjectImpl
12 implements FIPA.MTS, org.omg.CORBA.portable.InvokeHandler
13 {
14
15
16 public _MTSImplBase ()
17 {
18 }
19
20 private static java.util.Hashtable _methods = new java.util.Hashtable ();
21 static
22 {
23 _methods.put ("message", new java.lang.Integer (0));
24 }
25
26 public org.omg.CORBA.portable.OutputStream _invoke (String method,
27 org.omg.CORBA.portable.InputStream in,
28 org.omg.CORBA.portable.ResponseHandler rh)
29 {
30 org.omg.CORBA.portable.OutputStream out = null;
31 java.lang.Integer __method = (java.lang.Integer)_methods.get (method);
32 if (__method == null)
33 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
34
35 switch (__method.intValue ())
36 {
37 case 0:
38 {
39 FIPA.FipaMessage aFipaMessage = FIPA.FipaMessageHelper.read (in);
40 this.message (aFipaMessage);
41 out = rh.createReply();
42 break;
43 }
44
45 default:
46 throw new org.omg.CORBA.BAD_OPERATION (0, org.omg.CORBA.CompletionStatus.COMPLETED_MAYBE);
47 }
48
49 return out;
50 }
51
52
53 private static String[] __ids = {
54 "IDL:FIPA/MTS:1.0"};
55
56 public String[] _ids ()
57 {
58 return __ids;
59 }
60
61
62 }