Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Smart_Proxies / Smart_Proxy_Impl.h
blob6059b92b107ea8d9fb304badddeca9fa1bd8289e
1 #include "testC.h"
2 #include "ace/SString.h"
4 class Smart_Test_Factory : public virtual TAO_Test_Default_Proxy_Factory
6 public:
7 Smart_Test_Factory (void);
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
15 public:
16 Smart_Test_Proxy (Test_ptr proxy);
18 virtual bool can_convert_to_ior (void) 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 (void);
28 // Don't need to add any extra functionality into <shutdown>, hence
29 // we don't define it.
30 private:
31 static ACE_CString fake_ior_;