summaryrefslogtreecommitdiff
path: root/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.cpp')
-rw-r--r--TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.cpp58
1 files changed, 0 insertions, 58 deletions
diff --git a/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.cpp b/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.cpp
deleted file mode 100644
index 5b4f14577a3..00000000000
--- a/TAO/tests/Smart_Proxies/Collocation/Smart_Proxy_Impl.cpp
+++ /dev/null
@@ -1,58 +0,0 @@
-// $Id$
-
-#include "Smart_Proxy_Impl.h"
-
-Smart_Diamond_Top_Factory::Smart_Diamond_Top_Factory (void)
-{
- ACE_DEBUG ((LM_DEBUG, "Smart_Diamond_Top_Factory\n"));
-}
-
-Diamond::Top_ptr
-Smart_Diamond_Top_Factory::create_proxy (Diamond::Top_ptr proxy,
- CORBA::Environment &
- )
- {
- ACE_DEBUG ((LM_DEBUG, "create_smart_proxy\n"));
- if (CORBA::is_nil (proxy) == 0)
- ACE_NEW_RETURN (proxy,
- Smart_Diamond_Top_Proxy (proxy),
- 0);
- return proxy;
-
- }
-
-Smart_Diamond_Top_Proxy::Smart_Diamond_Top_Proxy (Diamond::Top_ptr proxy)
- : TAO_Diamond_Top_Smart_Proxy_Base (proxy)
-{
-}
-
-char *
-Smart_Diamond_Top_Proxy::shape (
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ))
-{
- ACE_DEBUG ((LM_DEBUG, "Smart_proxy: This is "));
-
- CORBA::Short retval = 0;
- char *ans= 0;
- ACE_TRY
- {
- ans = ACE_OS::strdup (TAO_Diamond_Top_Smart_Proxy_Base::shape(ACE_TRY_ENV));
-
- ACE_TRY_CHECK;
-
- ACE_DEBUG ((LM_DEBUG, "%s\n", ans));
-
- }
- ACE_CATCHANY
- {
- ACE_PRINT_EXCEPTION (ACE_ANY_EXCEPTION, "Uncaught Exception");
- return 0;
- }
- ACE_ENDTRY;
-
- return ans;
-}