1 #include "Smart_Proxy_Impl.h"
3 Smart_Test_Factory::Smart_Test_Factory (int one_shot_factory
)
4 : TAO_Test_Default_Proxy_Factory (one_shot_factory
)
7 "Smart_Test_Factory\n"));
11 Smart_Test_Factory::create_proxy (Test_ptr proxy
)
14 "create_smart_proxy\n"));
16 if (CORBA::is_nil (proxy
))
17 ACE_NEW_RETURN (proxy
, Smart_Test_Proxy (proxy
), 0);
22 Smart_Test_Proxy::Smart_Test_Proxy (Test_ptr proxy
)
23 : TAO_Smart_Proxy_Base (proxy
)
28 Smart_Test_Proxy::method (CORBA::Short boo
)
31 "Yahoo, I am smart\n"));
33 CORBA::Short retval
= 0;
36 retval
= TAO_Test_Smart_Proxy_Base::method (boo
);
38 catch (const Test::Oops
& reason
)
40 reason
._tao_print_exception ("User Exception");