blob: 960ca19332aa8361c11bf6b5266c7b3da910ef04 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
#include "My_DII_Reply_Handler.h"
#include "ace/Log_Msg.h"
#include "tao/AnyTypeCode/NVList.h"
My_DII_Reply_Handler::My_DII_Reply_Handler(TAO_AMH_DSI_Response_Handler_ptr rph,
CORBA::ORB_var orb)
: response_handler_ (rph),
orb_ (orb)
{
}
My_DII_Reply_Handler::~My_DII_Reply_Handler()
{
}
void
My_DII_Reply_Handler::handle_response(TAO_InputCDR &incoming)
{
CORBA::NVList_ptr list;
this->orb_->create_list (0, list);
bool lazy_evaluation = true;
list->_tao_incoming_cdr (incoming,
CORBA::ARG_OUT | CORBA::ARG_INOUT,
lazy_evaluation);
if (!CORBA::is_nil (this->response_handler_))
this->response_handler_->invoke_reply (list,
0 // result
);
}
void
My_DII_Reply_Handler::handle_excep (TAO_InputCDR &incoming,
CORBA::ULong reply_status)
{
ACE_DEBUG((LM_DEBUG, "calling DII_Reply_Handler::handle_excep()\n"));
}
|