summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ImplRepoS.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ImplRepoS.h')
-rw-r--r--TAO/tao/PortableServer/ImplRepoS.h268
1 files changed, 0 insertions, 268 deletions
diff --git a/TAO/tao/PortableServer/ImplRepoS.h b/TAO/tao/PortableServer/ImplRepoS.h
index 86c5de08e92..d0fe41625d9 100644
--- a/TAO/tao/PortableServer/ImplRepoS.h
+++ b/TAO/tao/PortableServer/ImplRepoS.h
@@ -374,68 +374,6 @@ public:
///////////////////////////////////////////////////////////////////////
-#if defined (ACE_HAS_USING_KEYWORD)
-// TIE class: Refer to CORBA v2.2, Section 20.34.4
-template <class T>
-class TAO_PortableServer_Export ServerObject_tie : public ServerObject
-{
-public:
- ServerObject_tie (T &t);
- // the T& ctor
- ServerObject_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ServerObject_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ServerObject_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ServerObject_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
- void ping (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void shutdown (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ServerObject_tie (const ServerObject_tie &);
- void operator= (const ServerObject_tie &);
-};
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
class Administration;
typedef Administration *Administration_ptr;
// Forward Classes Declaration
@@ -1415,148 +1353,6 @@ public:
///////////////////////////////////////////////////////////////////////
-#if defined (ACE_HAS_USING_KEYWORD)
-// TIE class: Refer to CORBA v2.2, Section 20.34.4
-template <class T>
-class TAO_PortableServer_Export Administration_tie : public Administration
-{
-public:
- Administration_tie (T &t);
- // the T& ctor
- Administration_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- Administration_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- Administration_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~Administration_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
- void activate_server (
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ImplementationRepository::Administration::NotFound,
- ImplementationRepository::Administration::CannotActivate
- ));
-
- void register_server (
- const char * server,
- const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ImplementationRepository::Administration::AlreadyRegistered
- ));
-
- void reregister_server (
- const char * server,
- const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void remove_server (
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ImplementationRepository::Administration::NotFound
- ));
-
- void shutdown_server (
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ImplementationRepository::Administration::NotFound
- ));
-
- char * server_is_running (
- const char * server,
- const char * addr,
- ImplementationRepository::ServerObject_ptr server_object,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ImplementationRepository::Administration::NotFound
- ));
-
- void server_is_shutting_down (
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ImplementationRepository::Administration::NotFound
- ));
-
- void find (
- const char * server,
- ImplementationRepository::ServerInformation_out info,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException,
- ImplementationRepository::Administration::NotFound
- ));
-
- void list (
- CORBA::ULong how_many,
- ImplementationRepository::ServerInformationList_out server_list,
- ImplementationRepository::ServerInformationIterator_out server_iterator,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- Administration_tie (const Administration_tie &);
- void operator= (const Administration_tie &);
-};
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
class ServerInformationIterator;
typedef ServerInformationIterator *ServerInformationIterator_ptr;
// Forward Classes Declaration
@@ -1891,70 +1687,6 @@ public:
///////////////////////////////////////////////////////////////////////
-#if defined (ACE_HAS_USING_KEYWORD)
-// TIE class: Refer to CORBA v2.2, Section 20.34.4
-template <class T>
-class TAO_PortableServer_Export ServerInformationIterator_tie : public ServerInformationIterator
-{
-public:
- ServerInformationIterator_tie (T &t);
- // the T& ctor
- ServerInformationIterator_tie (T &t, PortableServer::POA_ptr poa);
- // ctor taking a POA
- ServerInformationIterator_tie (T *tp, CORBA::Boolean release=1);
- // ctor taking pointer and an ownership flag
- ServerInformationIterator_tie (T *tp, PortableServer::POA_ptr poa, CORBA::Boolean release=1);
- // ctor with T*, ownership flag and a POA
- ~ServerInformationIterator_tie (void);
- // dtor
-
- // TIE specific functions
- T *_tied_object (void);
- // return the underlying object
- void _tied_object (T &obj);
- // set the underlying object
- void _tied_object (T *obj, CORBA::Boolean release=1);
- // set the underlying object and the ownership flag
- CORBA::Boolean _is_owner (void);
- // do we own it
- void _is_owner (CORBA::Boolean b);
- // set the ownership
-
- // overridden ServantBase operations
- PortableServer::POA_ptr _default_POA (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
- CORBA::Boolean next_n (
- CORBA::ULong how_many,
- ImplementationRepository::ServerInformationList_out server_list,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- void destroy (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-private:
- T *ptr_;
- PortableServer::POA_var poa_;
- CORBA::Boolean rel_;
-
- // copy and assignment are not allowed
- ServerInformationIterator_tie (const ServerInformationIterator_tie &);
- void operator= (const ServerInformationIterator_tie &);
-};
-
-#endif /* ACE_HAS_USING_KEYWORD */
-
}
TAO_NAMESPACE_CLOSE