4 UDP_i::UDP_i (CORBA::ORB_ptr o
) :
5 orb_(CORBA::ORB::_duplicate (o
))
15 UDP_i::invoke (const char * client_name
,
17 CORBA::Long request_id
)
22 "UDP_i::invoke: name = %C request id = %d.\n",
26 CORBA::Long last_request_id
= 0;
27 if (request_id_table_
.find (client_name
,
28 last_request_id
) != -1)
30 if (last_request_id
+ 1 != request_id
)
32 "UDP_i::invoke: failure on %C expected id = %d, got %d\n",
38 request_id_table_
.rebind (client_name
,
41 if (!CORBA::is_nil (udpHandler
))
43 udpHandler
->invoke (client_name
,
49 catch (const CORBA::Exception
&)
52 "UDP_i::svc: Received exception\n"));
62 "UDP_i is shutting down\n"));
64 // Instruct the ORB to shutdown.
65 this->orb_
->shutdown ();