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);
23 Smart_Test_Proxy::Smart_Test_Proxy (Test_ptr proxy
)
24 : TAO_Smart_Proxy_Base (proxy
)
29 Smart_Test_Proxy::method (CORBA::Short boo
)
32 "Yahoo, I am smart\n"));
34 CORBA::Short retval
= 0;
37 retval
= TAO_Test_Smart_Proxy_Base::method (boo
);
39 catch (const Test::Oops
& reason
)
41 reason
._tao_print_exception ("User Exception");