QWFeederPOA.java

  1. package com.isti.quakewatch.server.qw_feeder;

  2. /**
  3.  * Interface definition: QWFeeder.
  4.  *
  5.  * @author OpenORB Compiler
  6.  */
  7. public abstract class QWFeederPOA extends org.omg.PortableServer.Servant
  8.         implements QWFeederOperations, org.omg.CORBA.portable.InvokeHandler
  9. {
  10.     public QWFeeder _this()
  11.     {
  12.         return QWFeederHelper.narrow(_this_object());
  13.     }

  14.     public QWFeeder _this(org.omg.CORBA.ORB orb)
  15.     {
  16.         return QWFeederHelper.narrow(_this_object(orb));
  17.     }

  18.     private static String [] _ids_list =
  19.     {
  20.         "IDL:com/isti/quakewatch/server/qw_feeder/QWFeeder:1.0"
  21.     };

  22.     public String[] _all_interfaces(org.omg.PortableServer.POA poa, byte [] objectId)
  23.     {
  24.         return _ids_list;
  25.     }

  26.     public final org.omg.CORBA.portable.OutputStream _invoke(final String opName,
  27.             final org.omg.CORBA.portable.InputStream _is,
  28.             final org.omg.CORBA.portable.ResponseHandler handler)
  29.     {

  30.         if (opName.equals("sendDomainTypeMessage")) {
  31.                 return _invoke_sendDomainTypeMessage(_is, handler);
  32.         } else if (opName.equals("sendDomainTypeNameMessage")) {
  33.                 return _invoke_sendDomainTypeNameMessage(_is, handler);
  34.         } else if (opName.equals("sendMessage")) {
  35.                 return _invoke_sendMessage(_is, handler);
  36.         } else if (opName.equals("sendSourcedDomainTypeMsg")) {
  37.                 return _invoke_sendSourcedDomainTypeMsg(_is, handler);
  38.         } else if (opName.equals("sendSourcedDomainTypeNameMsg")) {
  39.                 return _invoke_sendSourcedDomainTypeNameMsg(_is, handler);
  40.         } else if (opName.equals("sendSourcedMsg")) {
  41.                 return _invoke_sendSourcedMsg(_is, handler);
  42.         } else {
  43.             throw new org.omg.CORBA.BAD_OPERATION(opName);
  44.         }
  45.     }

  46.     // helper methods
  47.     private org.omg.CORBA.portable.OutputStream _invoke_sendSourcedMsg(
  48.             final org.omg.CORBA.portable.InputStream _is,
  49.             final org.omg.CORBA.portable.ResponseHandler handler) {
  50.         org.omg.CORBA.portable.OutputStream _output;
  51.         String arg0_in = _is.read_string();
  52.         String arg1_in = _is.read_string();
  53.         long arg2_in = _is.read_longlong();

  54.         boolean _arg_result = sendSourcedMsg(arg0_in, arg1_in, arg2_in);

  55.         _output = handler.createReply();
  56.         _output.write_boolean(_arg_result);

  57.         return _output;
  58.     }

  59.     private org.omg.CORBA.portable.OutputStream _invoke_sendSourcedDomainTypeMsg(
  60.             final org.omg.CORBA.portable.InputStream _is,
  61.             final org.omg.CORBA.portable.ResponseHandler handler) {
  62.         org.omg.CORBA.portable.OutputStream _output;
  63.         String arg0_in = _is.read_string();
  64.         String arg1_in = _is.read_string();
  65.         String arg2_in = _is.read_string();
  66.         String arg3_in = _is.read_string();
  67.         long arg4_in = _is.read_longlong();

  68.         boolean _arg_result = sendSourcedDomainTypeMsg(arg0_in, arg1_in, arg2_in, arg3_in, arg4_in);

  69.         _output = handler.createReply();
  70.         _output.write_boolean(_arg_result);

  71.         return _output;
  72.     }

  73.     private org.omg.CORBA.portable.OutputStream _invoke_sendSourcedDomainTypeNameMsg(
  74.             final org.omg.CORBA.portable.InputStream _is,
  75.             final org.omg.CORBA.portable.ResponseHandler handler) {
  76.         org.omg.CORBA.portable.OutputStream _output;
  77.         String arg0_in = _is.read_string();
  78.         String arg1_in = _is.read_string();
  79.         String arg2_in = _is.read_string();
  80.         String arg3_in = _is.read_string();
  81.         String arg4_in = _is.read_string();
  82.         long arg5_in = _is.read_longlong();

  83.         boolean _arg_result = sendSourcedDomainTypeNameMsg(arg0_in, arg1_in, arg2_in, arg3_in, arg4_in, arg5_in);

  84.         _output = handler.createReply();
  85.         _output.write_boolean(_arg_result);

  86.         return _output;
  87.     }

  88.     private org.omg.CORBA.portable.OutputStream _invoke_sendMessage(
  89.             final org.omg.CORBA.portable.InputStream _is,
  90.             final org.omg.CORBA.portable.ResponseHandler handler) {
  91.         org.omg.CORBA.portable.OutputStream _output;
  92.         String arg0_in = _is.read_string();

  93.         boolean _arg_result = sendMessage(arg0_in);

  94.         _output = handler.createReply();
  95.         _output.write_boolean(_arg_result);

  96.         return _output;
  97.     }

  98.     private org.omg.CORBA.portable.OutputStream _invoke_sendDomainTypeMessage(
  99.             final org.omg.CORBA.portable.InputStream _is,
  100.             final org.omg.CORBA.portable.ResponseHandler handler) {
  101.         org.omg.CORBA.portable.OutputStream _output;
  102.         String arg0_in = _is.read_string();
  103.         String arg1_in = _is.read_string();
  104.         String arg2_in = _is.read_string();

  105.         boolean _arg_result = sendDomainTypeMessage(arg0_in, arg1_in, arg2_in);

  106.         _output = handler.createReply();
  107.         _output.write_boolean(_arg_result);

  108.         return _output;
  109.     }

  110.     private org.omg.CORBA.portable.OutputStream _invoke_sendDomainTypeNameMessage(
  111.             final org.omg.CORBA.portable.InputStream _is,
  112.             final org.omg.CORBA.portable.ResponseHandler handler) {
  113.         org.omg.CORBA.portable.OutputStream _output;
  114.         String arg0_in = _is.read_string();
  115.         String arg1_in = _is.read_string();
  116.         String arg2_in = _is.read_string();
  117.         String arg3_in = _is.read_string();

  118.         boolean _arg_result = sendDomainTypeNameMessage(arg0_in, arg1_in, arg2_in, arg3_in);

  119.         _output = handler.createReply();
  120.         _output.write_boolean(_arg_result);

  121.         return _output;
  122.     }

  123. }