Пример #1
0
void
Test::Hello::sendc_short_sleep (
  ::Test::AMI_HelloHandler_ptr ami_handler)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }



  TAO::Argument ** _the_tao_operation_signature = 0;

  TAO::Asynch_Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      0,
      "short_sleep",
      11,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY
    );

  _tao_call.invoke (
      ami_handler,
      &Test::AMI_HelloHandler::short_sleep_reply_stub
    );
}
Пример #2
0
void
Object_B::foo (
  ::Object_A_ptr theObject_A)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::Object_A>::in_arg_val _tao_theObject_A (theObject_A);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_theObject_A
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "foo",
      3,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}
Пример #3
0
void
RTTest::test::shutdown (
  void)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "shutdown",
      8,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_ONEWAY_INVOCATION,
      TAO::TAO_SYNCHRONOUS_INVOCATION,
      false
    );

  _tao_call.invoke (0, 0);
}
Пример #4
0
void
CORBA::Request::sendc (CORBA::Object_ptr handler)
{
  TAO::NamedValue_Argument _tao_retval (this->result_);

  TAO::NVList_Argument _tao_in_list (this->args_,
                                     this->lazy_evaluation_);

  TAO::Argument *_tao_arg_list [] = {
    &_tao_retval,
    &_tao_in_list
  };

  TAO::Asynch_Invocation_Adapter _tao_call (
       this->target_,
       _tao_arg_list,
       sizeof( _tao_arg_list ) / sizeof( TAO::Argument* ),
       const_cast<char *> (this->opname_),
       static_cast<CORBA::ULong> (ACE_OS::strlen (this->opname_)),
       0); // collocation proxy broker

  // forward requested byte order
  _tao_call._tao_byte_order (this->_tao_byte_order ());

  _tao_call.invoke (dynamic_cast<Messaging::ReplyHandler_ptr>(handler),
                    &CORBA::Request::_tao_reply_stub);
}
CORBA::InterfaceDef_ptr
TAO_IFR_Client_Adapter_Impl::get_interface_remote (
    CORBA::Object_ptr target)
{
    TAO::Arg_Traits<CORBA::InterfaceDef>::ret_val _tao_retval;

    TAO::Argument *_tao_signature [] =
    {
        &_tao_retval
    };

    TAO::Invocation_Adapter _tao_call (
        target,
        _tao_signature,
        1,
        "_interface",
        10,
        0);

    try
    {
        _tao_call.invoke (0, 0);
    }
    catch (const ::CORBA::OBJECT_NOT_EXIST&)
    {
        return CORBA::InterfaceDef::_nil ();
    }

    return _tao_retval.retn ();
}
Пример #6
0
void
Test::Echo::echo_payload (
  const ::Test::Payload & data)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::Test::Payload>::in_arg_val _tao_data (data);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_data
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "echo_payload",
      12,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}
Пример #7
0
::CORBA::Long
Diamond::Right::width (
  void)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< ::CORBA::Long>::ret_val _tao_retval;

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "width",
      5,
      TAO::TAO_CO_NONE | TAO::TAO_CO_DIRECT_STRATEGY | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_TWOWAY_INVOCATION
      ,
      TAO::TAO_SYNCHRONOUS_INVOCATION,
      false
    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #8
0
void
Checkpoint::put_event (
    ::Event * e)
{
    if (!this->is_evaluated ())
    {
        ::CORBA::Object::tao_object_initialize (this);
    }

    TAO::Arg_Traits< void>::ret_val _tao_retval;
    TAO::Arg_Traits< ::Event>::in_arg_val _tao_e (e);

    TAO::Argument *_the_tao_operation_signature [] =
    {
        &_tao_retval,
        &_tao_e
    };

    TAO::Invocation_Adapter _tao_call (
        this,
        _the_tao_operation_signature,
        2,
        "put_event",
        9,
        TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

    _tao_call.invoke (0, 0);
}
Пример #9
0
char *
Nestea_Bookshelf::get_praise (
  void)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< char *>::ret_val _tao_retval;

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "get_praise",
      10,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_TWOWAY_INVOCATION
      ,
      TAO::TAO_SYNCHRONOUS_INVOCATION,
      false
    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #10
0
void
Job::work (
  ::CORBA::ULong work)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val _tao_work (work);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_work
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "work",
      4,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}
Пример #11
0
::CORBA::ULong
Test::BoundSequences::SendSequenceOf10Long (
  ::CORBA::ULong LengthSent,
  const ::Test::BoundSequences::SequenceOf10Long & inSeq)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< ::CORBA::ULong>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val _tao_LengthSent (LengthSent);
  TAO::Arg_Traits< ::Test::BoundSequences::SequenceOf10Long>::in_arg_val _tao_inSeq (inSeq);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_LengthSent,
      &_tao_inSeq
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "SendSequenceOf10Long",
      20,
      TAO::TAO_CO_NONE

    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #12
0
void
UDP::invoke (
    const char * client_name,
    ::CORBA::Long request_id)
{
    if (!this->is_evaluated ())
    {
        ::CORBA::Object::tao_object_initialize (this);
    }

    TAO::Arg_Traits< void>::ret_val _tao_retval;
    TAO::Arg_Traits< char *>::in_arg_val _tao_client_name (client_name);
    TAO::Arg_Traits< ::CORBA::Long>::in_arg_val _tao_request_id (request_id);

    TAO::Argument *_the_tao_operation_signature [] =
    {
        &_tao_retval,
        &_tao_client_name,
        &_tao_request_id
    };

    TAO::Invocation_Adapter _tao_call (
        this,
        _the_tao_operation_signature,
        3,
        "invoke",
        6,
        TAO::TAO_CO_NONE,
        TAO::TAO_ONEWAY_INVOCATION

    );

    _tao_call.invoke (0, 0);
}
Пример #13
0
void
UDP::setResponseHandler (
    ::UDP_ptr udpHandler)
{
    if (!this->is_evaluated ())
    {
        ::CORBA::Object::tao_object_initialize (this);
    }

    TAO::Arg_Traits< void>::ret_val _tao_retval;
    TAO::Arg_Traits< ::UDP>::in_arg_val _tao_udpHandler (udpHandler);

    TAO::Argument *_the_tao_operation_signature [] =
    {
        &_tao_retval,
        &_tao_udpHandler
    };

    TAO::Invocation_Adapter _tao_call (
        this,
        _the_tao_operation_signature,
        2,
        "setResponseHandler",
        18,
        TAO::TAO_CO_NONE,
        TAO::TAO_ONEWAY_INVOCATION

    );

    _tao_call.invoke (0, 0);
}
Пример #14
0
::CORBA::Long
Transaction::update (
  ::Person * p)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< ::CORBA::Long>::ret_val _tao_retval;
  TAO::Arg_Traits< ::Person>::in_arg_val _tao_p (p);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_p
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "update",
      6,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #15
0
::AnySeq *
Test::RunTest (
  const ::AnySeq & params)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< ::AnySeq>::ret_val _tao_retval;
  TAO::Arg_Traits< ::AnySeq>::in_arg_val _tao_params (params);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_params
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "RunTest",
      7,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #16
0
void
Nestea_Bookshelf::drink (
  ::CORBA::Long cans)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::Long>::in_arg_val _tao_cans (cans);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_cans
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "drink",
      5,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}
Пример #17
0
::Test::Timestamp
Test::Roundtrip::test_method (
  ::Test::Timestamp send_time)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< ::CORBA::ULongLong>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::ULongLong>::in_arg_val _tao_send_time (send_time);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_send_time
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "test_method",
      11,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #18
0
void
Test::Service::run_test (
  ::Test::Crashed_Callback_ptr the_callback)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::Test::Crashed_Callback>::in_arg_val _tao_the_callback (the_callback);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_the_callback
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "run_test",
      8,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_ONEWAY_INVOCATION

    );

  _tao_call.invoke (0, 0);
}
Пример #19
0
void
Test::Echo_Caller::start_task (
  ::Test::Echo_ptr client)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::Test::Echo>::in_arg_val _tao_client (client);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_client
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "start_task",
      10,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}
Пример #20
0
::CORBA::Boolean
Test::Crashed_Callback::are_you_there (
  void)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< ::ACE_InputCDR::to_boolean>::ret_val _tao_retval;

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "are_you_there",
      13,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_TWOWAY_INVOCATION
      ,
      TAO::TAO_SYNCHRONOUS_INVOCATION,
      false
    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #21
0
void
CORBA::Request::send_oneway (void)
{
  TAO::NamedValue_Argument _tao_retval (this->result_);

  TAO::NVList_Argument _tao_in_list (this->args_,
                                     this->lazy_evaluation_);

  TAO::Argument *_tao_arg_list [] = {
    &_tao_retval,
    &_tao_in_list
  };

  TAO::DII_Oneway_Invocation_Adapter _tao_call (
      this->target_,
      _tao_arg_list,
      sizeof( _tao_arg_list ) / sizeof( TAO::Argument* ),
      this->opname_,
      static_cast<CORBA::ULong> (ACE_OS::strlen (this->opname_)),
      TAO::TAO_SYNCHRONOUS_INVOCATION);

  // forward requested byte order
  _tao_call._tao_byte_order (this->_tao_byte_order ());

  _tao_call.invoke (0, 0);
}
Пример #22
0
void
Test::Controller::sendc_worker_finished (
  ::Test::AMI_ControllerHandler_ptr ami_handler)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }



  TAO::Argument ** _the_tao_operation_signature = 0;

  TAO::Asynch_Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      0,
      "worker_finished",
      15,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY
    );

  _tao_call.invoke (
      ami_handler,
      &Test::AMI_ControllerHandler::worker_finished_reply_stub
    );
}
Пример #23
0
void
abstract_parent::method (
  ::abstract_parent_ptr aParent)
{
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::abstract_parent>::in_arg_val _tao_aParent (aParent);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_aParent
    };

  TAO::AbstractBase_Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "method",
      6,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}
Пример #24
0
void
Test::AMI_ControllerHandler::worker_finished (
  void)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "worker_finished",
      15,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_TWOWAY_INVOCATION
      ,
      TAO::TAO_SYNCHRONOUS_INVOCATION,
      false
    );

  _tao_call.invoke (0, 0);
}
Пример #25
0
char *
Multiple::Top::top_quote (
  void)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< char *>::ret_val _tao_retval;

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "top_quote",
      9,
      TAO::TAO_CO_NONE | TAO::TAO_CO_DIRECT_STRATEGY | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_TWOWAY_INVOCATION
      ,
      TAO::TAO_SYNCHRONOUS_INVOCATION,
      false
    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #26
0
void
Test::AMI_ControllerHandler::worker_finished_excep (
  ::Messaging::ExceptionHolder * excep_holder)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::Messaging::ExceptionHolder>::in_arg_val _tao_excep_holder (excep_holder);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_excep_holder
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "worker_finished_excep",
      21,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}
Пример #27
0
void
SimpleStrings::get_strings (
    ::ArrayOfString_out strings)
{
    if (!this->is_evaluated ())
    {
        ::CORBA::Object::tao_object_initialize (this);
    }

    TAO::Arg_Traits< void>::ret_val _tao_retval;
    TAO::Arg_Traits< ::ArrayOfString_tag>::out_arg_val _tao_strings (strings);

    TAO::Argument *_the_tao_operation_signature [] =
    {
        &_tao_retval,
        &_tao_strings
    };

    TAO::Invocation_Adapter _tao_call (
        this,
        _the_tao_operation_signature,
        2,
        "get_strings",
        11,
        TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
        TAO::TAO_TWOWAY_INVOCATION
        ,
        TAO::TAO_SYNCHRONOUS_INVOCATION,
        false
    );

    _tao_call.invoke (0, 0);
}
Пример #28
0
void
test::method (
  ::CORBA::ULong request_number)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val _tao_request_number (request_number);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_request_number
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "method",
      6,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_ONEWAY_INVOCATION

    );

  _tao_call.invoke (0, 0);
}
Пример #29
0
::CORBA::Short
RTTest::test::number (
  void)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< ::CORBA::Short>::ret_val _tao_retval;

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "number",
      6,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY,
      TAO::TAO_TWOWAY_INVOCATION
      ,
      TAO::TAO_SYNCHRONOUS_INVOCATION,
      false
    );

  _tao_call.invoke (0, 0);

  return _tao_retval.retn ();
}
Пример #30
0
void
test::initialize (
  ::CORBA::ULong total_iterations)
{
  if (!this->is_evaluated ())
    {
      ::CORBA::Object::tao_object_initialize (this);
    }

  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::CORBA::ULong>::in_arg_val _tao_total_iterations (total_iterations);

  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_total_iterations
    };

  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "initialize",
      10,
      TAO::TAO_CO_NONE | TAO::TAO_CO_THRU_POA_STRATEGY

    );

  _tao_call.invoke (0, 0);
}