blob: a7a6aaa7236b7e6f686d6b588fe7f1db67c09689 (
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
|
// $Id$
#include "Reply_Handler.h"
Reply_Handler::Reply_Handler (CORBA::ORB_ptr o)
: orb_ (CORBA::ORB::_duplicate (o))
{
}
void
Reply_Handler::next_prime (CORBA::ULong)
{
return;
}
void
Reply_Handler::next_prime_excep (
::Messaging::ExceptionHolder *ex)
{
try
{
ex->raise_exception ();
}
catch (const CORBA::COMM_FAILURE& )
{
/*ACE_DEBUG ((LM_DEBUG,
"Callback method <next_prime_excep> called: \n"));
*/
ACE_Time_Value tv (10, 0);
this->orb_->run (tv);
this->orb_->shutdown (0);
}
catch (const CORBA::Exception& ex)
{
ex._tao_print_exception ("Caught exception:");
}
}
|