2 #include "ace/SString.h"
4 class Smart_Test_Factory
: public virtual TAO_Test_Default_Proxy_Factory
9 virtual Test_ptr
create_proxy (Test_ptr proxy
);
10 // This method will create the smart_proxy.
13 class Smart_Test_Proxy
: public virtual TAO_Test_Smart_Proxy_Base
16 Smart_Test_Proxy (Test_ptr proxy
);
18 virtual bool can_convert_to_ior () const;
20 virtual char* convert_to_ior (bool use_omg_ior_format
,
21 const char* ior_prefix
) const;
23 virtual CORBA::Short
method (CORBA::Short boo
);
24 // "Smartify" the method call!
26 static const ACE_CString
& fake_ior ();
28 // Don't need to add any extra functionality into <shutdown>, hence
29 // we don't define it.
31 static ACE_CString fake_ior_
;