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.h1176
1 files changed, 237 insertions, 939 deletions
diff --git a/TAO/tao/PortableServer/ImplRepoS.h b/TAO/tao/PortableServer/ImplRepoS.h
index d0fe41625d9..ef3099316fe 100644
--- a/TAO/tao/PortableServer/ImplRepoS.h
+++ b/TAO/tao/PortableServer/ImplRepoS.h
@@ -19,8 +19,8 @@
// Information about TAO is available at:
// http://www.cs.wustl.edu/~schmidt/TAO.html
-#ifndef _TAO_IDL_ORIG_IMPLREPOS_H_
-#define _TAO_IDL_ORIG_IMPLREPOS_H_
+#ifndef _TAO_IDL_IMPLREPOS_H_
+#define _TAO_IDL_IMPLREPOS_H_
#include "ace/pre.h"
#include "ImplRepoC.h"
@@ -35,8 +35,6 @@
#include "tao/PortableServer/Collocated_Object.h"
#include "tao/PortableServer/ThruPOA_Object_Proxy_Impl.h"
#include "tao/PortableServer/Direct_Object_Proxy_Impl.h"
-#include "tao/PortableServer/ServerRequestInfo.h"
-
#if defined(_MSC_VER)
#if (_MSC_VER >= 1200)
#pragma warning(push)
@@ -56,7 +54,7 @@ TAO_NAMESPACE POA_ImplementationRepository
class _TAO_ServerObject_ThruPOA_Proxy_Impl;
class _TAO_ServerObject_Direct_Proxy_Impl;
class _TAO_ServerObject_Strategized_Proxy_Broker;
-
+
class TAO_PortableServer_Export ServerObject : public virtual PortableServer::ServantBase
{
protected:
@@ -69,7 +67,7 @@ TAO_NAMESPACE POA_ImplementationRepository
virtual CORBA::Boolean _is_a (
const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -80,284 +78,174 @@ TAO_NAMESPACE POA_ImplementationRepository
static void _is_a_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
static void _non_existent_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
static void _interface_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ TAO_ServerRequest &req,
+ void *_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
::ImplementationRepository::ServerObject *_this (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
virtual const char* _interface_repository_id (void) const;
virtual void ping (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
- static void ping_skel (
+
+ static void ping_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void shutdown (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
- static void shutdown_skel (
+
+ static void shutdown_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::ServerObject;
- TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::ServerObject *tao_impl,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_ping &);
-
- private:
- POA_ImplementationRepository::ServerObject *_tao_impl;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::ServerObject;
- TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::ServerObject *tao_impl,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerObject_shutdown &);
-
- private:
- POA_ImplementationRepository::ServerObject *_tao_impl;
-
- };
-
- #endif /* TAO_HAS_INTERCEPTORS */
};
-
+
///////////////////////////////////////////////////////////////////////
- // Strategized Proxy Broker Declaration
+ // Strategized Proxy Broker Declaration
//
-
+
class TAO_PortableServer_Export _TAO_ServerObject_Strategized_Proxy_Broker : public virtual ::ImplementationRepository::_TAO_ServerObject_Proxy_Broker
{
- public:
+ public:
_TAO_ServerObject_Strategized_Proxy_Broker (void);
-
+
virtual ~_TAO_ServerObject_Strategized_Proxy_Broker (void);
-
+
virtual ::ImplementationRepository::_TAO_ServerObject_Proxy_Impl &select_proxy (
::ImplementationRepository::ServerObject *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ CORBA_Environment &ACE_TRY_ENV
);
-
+
private:
-
- // Helper methods that takes care to create the proxy
- // as soon as their use is necessary.
+ // Helper methods that takes care to create the proxy
+ // as soon as their use is necessary.
void create_proxy (
int collocation_strategy,
CORBA::Environment &ACE_TRY_ENV
);
-
- private:
-
+
// Caches the proxy implementations. The proxy implementation
// are totally stateless, and those can be shared by all the
// instances of a given IDL interface type.
::ImplementationRepository::_TAO_ServerObject_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
TAO_SYNCH_MUTEX mutex_;
- // This funxtion is used to get an handle to the unique instance
- // of the Strategized Proxy Broker that is available for a given
- // interface.
-
+ // This funxtion is used to get an handle to the unique instance
+ // of the Strategized Proxy Broker that is available for a given
+ // interface.
+
public:
static _TAO_ServerObject_Strategized_Proxy_Broker *the_TAO_ServerObject_Strategized_Proxy_Broker (void);
};
-
-
+
+
//
- // End Strategized Proxy Broker Declaration
+ // End Strategized Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
-
-
-///////////////////////////////////////////////////////////////////////
-// ThruPOA Impl. Declaration
-//
-
-class TAO_PortableServer_Export _TAO_ServerObject_ThruPOA_Proxy_Impl :
- public virtual ::ImplementationRepository::_TAO_ServerObject_Proxy_Impl,
- public virtual TAO_ThruPOA_Object_Proxy_Impl
-{
-public:
- _TAO_ServerObject_ThruPOA_Proxy_Impl (void);
-
- virtual ~_TAO_ServerObject_ThruPOA_Proxy_Impl (void) { }
-
+
+
+ ///////////////////////////////////////////////////////////////////////
+ // ThruPOA Impl. Declaration
+ //
+
+ class TAO_PortableServer_Export _TAO_ServerObject_ThruPOA_Proxy_Impl :
+ public virtual ::ImplementationRepository::_TAO_ServerObject_Proxy_Impl,
+ public virtual TAO_ThruPOA_Object_Proxy_Impl
+ {
+ public:
+ _TAO_ServerObject_ThruPOA_Proxy_Impl (void);
+
+ virtual ~_TAO_ServerObject_ThruPOA_Proxy_Impl (void) { }
+
virtual void ping (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
- virtual void shutdown (
- CORBA_Object *_collocated_tao_target_,
- CORBA::Environment &ACE_TRY_ENV
- )
- ACE_THROW_SPEC ((
- CORBA::SystemException
- ));
-
-};
-
-
-//
-// ThruPOA Proxy Impl. Declaration
-///////////////////////////////////////////////////////////////////////
-
-
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+ virtual void shutdown (
+ CORBA_Object *_collocated_tao_target_,
+ CORBA::Environment &ACE_TRY_ENV
+ )
+ ACE_THROW_SPEC ((
+ CORBA::SystemException
+ ));
+
+
+ };
+
+ //
+ // ThruPOA Proxy Impl. Declaration
+ ///////////////////////////////////////////////////////////////////////
+
+
///////////////////////////////////////////////////////////////////////
// Direct Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_ServerObject_Direct_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_ServerObject_Direct_Proxy_Impl :
public virtual ImplementationRepository::_TAO_ServerObject_Proxy_Impl,
public virtual TAO_Direct_Object_Proxy_Impl
{
public:
_TAO_ServerObject_Direct_Proxy_Impl (void);
-
+
virtual ~_TAO_ServerObject_Direct_Proxy_Impl (void) { }
-
- virtual void ping (
+
+ virtual void ping (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
)
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
virtual void shutdown (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
@@ -365,8 +253,8 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
-};
+
+ };
//
@@ -393,7 +281,7 @@ public:
virtual CORBA::Boolean _is_a (
const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -404,36 +292,32 @@ public:
static void _is_a_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
static void _non_existent_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
static void _interface_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ TAO_ServerRequest &req,
+ void *_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
::ImplementationRepository::Administration *_this (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -441,7 +325,7 @@ public:
virtual void activate_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
@@ -449,665 +333,193 @@ public:
ImplementationRepository::Administration::NotFound,
ImplementationRepository::Administration::CannotActivate
)) = 0;
-
- static void activate_server_skel (
+
+ static void activate_server_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void register_server (
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException,
ImplementationRepository::Administration::AlreadyRegistered
)) = 0;
-
- static void register_server_skel (
+
+ static void register_server_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void reregister_server (
const char * server,
const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
- static void reregister_server_skel (
+
+ static void reregister_server_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void remove_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
)) = 0;
-
- static void remove_server_skel (
+
+ static void remove_server_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void shutdown_server (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
)) = 0;
-
- static void shutdown_server_skel (
+
+ static void shutdown_server_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual char * server_is_running (
const char * server,
const char * addr,
ImplementationRepository::ServerObject_ptr server_object,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
)) = 0;
-
- static void server_is_running_skel (
+
+ static void server_is_running_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void server_is_shutting_down (
const char * server,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
)) = 0;
-
- static void server_is_shutting_down_skel (
+
+ static void server_is_shutting_down_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void find (
const char * server,
ImplementationRepository::ServerInformation_out info,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
)) = 0;
-
- static void find_skel (
+
+ static void find_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void list (
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
ImplementationRepository::ServerInformationIterator_out server_iterator,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
- static void list_skel (
+
+ static void list_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_activate_server &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_register_server &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
- const ImplementationRepository::StartupOptions & options_;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- const ImplementationRepository::StartupOptions & options,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_reregister_server &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
- const ImplementationRepository::StartupOptions & options_;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_remove_server &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server (const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_shutdown_server &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- const char * addr,
- ImplementationRepository::ServerObject_ptr server_object,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_running &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
- const char * addr_;
- ImplementationRepository::ServerObject_ptr server_object_;
- void result (char * result);
- // update the result
- char * _result;
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_server_is_shutting_down &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_find : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_find (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const char * server,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_find (const TAO_ServerRequestInfo_ImplementationRepository_Administration_find &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_find &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const char * server_;
-
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_Administration_list : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::Administration;
- TAO_ServerRequestInfo_ImplementationRepository_Administration_list (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::Administration *tao_impl,
- const CORBA::ULong & how_many
-,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_Administration_list (const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_Administration_list &);
-
- private:
- POA_ImplementationRepository::Administration *_tao_impl;
- const CORBA::ULong & how_many_;
-
-
- };
-
- #endif /* TAO_HAS_INTERCEPTORS */
};
///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
+// Strategized Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_Administration_Strategized_Proxy_Broker : public virtual ::ImplementationRepository::_TAO_Administration_Proxy_Broker
{
-public:
+public:
_TAO_Administration_Strategized_Proxy_Broker (void);
-
+
virtual ~_TAO_Administration_Strategized_Proxy_Broker (void);
-
+
virtual ::ImplementationRepository::_TAO_Administration_Proxy_Impl &select_proxy (
::ImplementationRepository::Administration *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ CORBA_Environment &ACE_TRY_ENV
);
private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
+ // Helper methods that takes care to create the proxy
+ // as soon as their use is necessary.
void create_proxy (
int collocation_strategy,
CORBA::Environment &ACE_TRY_ENV
);
-
-private:
-
+
// Caches the proxy implementations. The proxy implementation
// are totally stateless, and those can be shared by all the
// instances of a given IDL interface type.
::ImplementationRepository::_TAO_Administration_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
+ // This funxtion is used to get an handle to the unique instance
+ // of the Strategized Proxy Broker that is available for a given
+ // interface.
public:
static _TAO_Administration_Strategized_Proxy_Broker *the_TAO_Administration_Strategized_Proxy_Broker (void);
@@ -1115,7 +527,7 @@ public:
//
-// End Strategized Proxy Broker Declaration
+// End Strategized Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
@@ -1123,16 +535,16 @@ public:
// ThruPOA Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_Administration_ThruPOA_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_Administration_ThruPOA_Proxy_Impl :
public virtual ::ImplementationRepository::_TAO_Administration_Proxy_Impl,
public virtual TAO_ThruPOA_Object_Proxy_Impl
{
public:
_TAO_Administration_ThruPOA_Proxy_Impl (void);
-
+
virtual ~_TAO_Administration_ThruPOA_Proxy_Impl (void) { }
-
- virtual void activate_server (
+
+ virtual void activate_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
CORBA::Environment &ACE_TRY_ENV
@@ -1142,7 +554,7 @@ public:
ImplementationRepository::Administration::NotFound,
ImplementationRepository::Administration::CannotActivate
));
-
+
virtual void register_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1153,7 +565,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::AlreadyRegistered
));
-
+
virtual void reregister_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1163,7 +575,7 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
virtual void remove_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1173,7 +585,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void shutdown_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1183,7 +595,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual char * server_is_running (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1195,7 +607,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void server_is_shutting_down (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1205,7 +617,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void find (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1216,7 +628,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void list (
CORBA_Object *_collocated_tao_target_,
CORBA::ULong how_many,
@@ -1227,10 +639,10 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
+
};
-
//
// ThruPOA Proxy Impl. Declaration
///////////////////////////////////////////////////////////////////////
@@ -1240,16 +652,16 @@ public:
// Direct Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_Administration_Direct_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_Administration_Direct_Proxy_Impl :
public virtual ImplementationRepository::_TAO_Administration_Proxy_Impl,
public virtual TAO_Direct_Object_Proxy_Impl
{
public:
_TAO_Administration_Direct_Proxy_Impl (void);
-
+
virtual ~_TAO_Administration_Direct_Proxy_Impl (void) { }
-
- virtual void activate_server (
+
+ virtual void activate_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
CORBA::Environment &ACE_TRY_ENV
@@ -1259,7 +671,7 @@ public:
ImplementationRepository::Administration::NotFound,
ImplementationRepository::Administration::CannotActivate
));
-
+
virtual void register_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1270,7 +682,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::AlreadyRegistered
));
-
+
virtual void reregister_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1280,7 +692,7 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
virtual void remove_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1290,7 +702,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void shutdown_server (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1300,7 +712,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual char * server_is_running (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1312,7 +724,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void server_is_shutting_down (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1322,7 +734,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void find (
CORBA_Object *_collocated_tao_target_,
const char * server,
@@ -1333,7 +745,7 @@ public:
CORBA::SystemException,
ImplementationRepository::Administration::NotFound
));
-
+
virtual void list (
CORBA_Object *_collocated_tao_target_,
CORBA::ULong how_many,
@@ -1344,8 +756,8 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
-};
+
+ };
//
@@ -1372,7 +784,7 @@ public:
virtual CORBA::Boolean _is_a (
const char* logical_type_id,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -1383,36 +795,32 @@ public:
static void _is_a_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
static void _non_existent_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
static void _interface_skel (
TAO_ServerRequest &req,
void *obj,
- void *context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void _dispatch (
- TAO_ServerRequest &_tao_req,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ TAO_ServerRequest &req,
+ void *_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
::ImplementationRepository::ServerInformationIterator *_this (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
);
@@ -1421,183 +829,73 @@ public:
virtual CORBA::Boolean next_n (
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
- static void next_n_skel (
+
+ static void next_n_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
virtual void destroy (
- CORBA::Environment &ACE_TRY_ENV =
+ CORBA::Environment &ACE_TRY_ENV =
TAO_default_environment ()
)
ACE_THROW_SPEC ((
CORBA::SystemException
)) = 0;
-
- static void destroy_skel (
+
+ static void destroy_skel (
TAO_ServerRequest &_tao_req,
void *_tao_obj,
- void *_tao_context,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
-
-#if (TAO_HAS_INTERCEPTORS == 1)
- // Generation of interceptors related RequestInfo classes per operation.
- // This needed to be able to store the arguments, exceptions, contexts
- // and build the lists dynamically on demand so that unnecessary time overhead
- // of building these lists when they arent used is avoided.
- class TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::ServerInformationIterator;
- TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::ServerInformationIterator *tao_impl,
- const CORBA::ULong & how_many,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- );
-
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_next_n &);
-
- private:
- POA_ImplementationRepository::ServerInformationIterator *_tao_impl;
- const CORBA::ULong & how_many_;
- void result (CORBA::Boolean result);
- // update the result
- CORBA::Boolean _result;
- };
-
- class TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy : public TAO_ServerRequestInfo
- {
- public:
- friend class POA_ImplementationRepository::ServerInformationIterator;
- TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (
- TAO_ServerRequest &_tao_server_request,
- POA_ImplementationRepository::ServerInformationIterator *tao_impl,
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
+ void *_tao_servant_upcall,
+ CORBA::Environment &ACE_TRY_ENV
);
- virtual Dynamic::ParameterList * arguments (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual Dynamic::ExceptionList * exceptions (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Any * result (
- CORBA::Environment &ACE_TRY_ENV =
- TAO_default_environment ()
- )
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual char * target_most_derived_interface (
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- virtual CORBA::Boolean target_is_a (
- const char * id,
- CORBA::Environment &ACE_TRY_ENV = TAO_default_environment ())
- ACE_THROW_SPEC ((CORBA::SystemException));
-
- private:
- TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &);
- void operator= (const TAO_ServerRequestInfo_ImplementationRepository_ServerInformationIterator_destroy &);
-
- private:
- POA_ImplementationRepository::ServerInformationIterator *_tao_impl;
-
- };
-
- #endif /* TAO_HAS_INTERCEPTORS */
};
///////////////////////////////////////////////////////////////////////
-// Strategized Proxy Broker Declaration
+// Strategized Proxy Broker Declaration
//
class TAO_PortableServer_Export _TAO_ServerInformationIterator_Strategized_Proxy_Broker : public virtual ::ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Broker
{
-public:
+public:
_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void);
-
+
virtual ~_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void);
-
+
virtual ::ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl &select_proxy (
::ImplementationRepository::ServerInformationIterator *object,
- CORBA_Environment &ACE_TRY_ENV = TAO_default_environment ()
+ CORBA_Environment &ACE_TRY_ENV
);
private:
-
-// Helper methods that takes care to create the proxy
-// as soon as their use is necessary.
+ // Helper methods that takes care to create the proxy
+ // as soon as their use is necessary.
void create_proxy (
int collocation_strategy,
CORBA::Environment &ACE_TRY_ENV
);
-
-private:
-
+
// Caches the proxy implementations. The proxy implementation
// are totally stateless, and those can be shared by all the
// instances of a given IDL interface type.
::ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl
- *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
-
+ *proxy_cache_[TAO_Collocation_Strategies::CS_LAST];
+
TAO_SYNCH_MUTEX mutex_;
-// This funxtion is used to get an handle to the unique instance
-// of the Strategized Proxy Broker that is available for a given
-// interface.
+ // This funxtion is used to get an handle to the unique instance
+ // of the Strategized Proxy Broker that is available for a given
+ // interface.
public:
static _TAO_ServerInformationIterator_Strategized_Proxy_Broker *the_TAO_ServerInformationIterator_Strategized_Proxy_Broker (void);
@@ -1605,7 +903,7 @@ public:
//
-// End Strategized Proxy Broker Declaration
+// End Strategized Proxy Broker Declaration
///////////////////////////////////////////////////////////////////////
@@ -1613,16 +911,16 @@ public:
// ThruPOA Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_ServerInformationIterator_ThruPOA_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_ServerInformationIterator_ThruPOA_Proxy_Impl :
public virtual ::ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl,
public virtual TAO_ThruPOA_Object_Proxy_Impl
{
public:
_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl (void);
-
+
virtual ~_TAO_ServerInformationIterator_ThruPOA_Proxy_Impl (void) { }
-
- virtual CORBA::Boolean next_n (
+
+ virtual CORBA::Boolean next_n (
CORBA_Object *_collocated_tao_target_,
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
@@ -1631,7 +929,7 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
virtual void destroy (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
@@ -1639,10 +937,10 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
+
};
-
//
// ThruPOA Proxy Impl. Declaration
///////////////////////////////////////////////////////////////////////
@@ -1652,16 +950,16 @@ public:
// Direct Impl. Declaration
//
-class TAO_PortableServer_Export _TAO_ServerInformationIterator_Direct_Proxy_Impl :
+class TAO_PortableServer_Export _TAO_ServerInformationIterator_Direct_Proxy_Impl :
public virtual ImplementationRepository::_TAO_ServerInformationIterator_Proxy_Impl,
public virtual TAO_Direct_Object_Proxy_Impl
{
public:
_TAO_ServerInformationIterator_Direct_Proxy_Impl (void);
-
+
virtual ~_TAO_ServerInformationIterator_Direct_Proxy_Impl (void) { }
-
- virtual CORBA::Boolean next_n (
+
+ virtual CORBA::Boolean next_n (
CORBA_Object *_collocated_tao_target_,
CORBA::ULong how_many,
ImplementationRepository::ServerInformationList_out server_list,
@@ -1670,7 +968,7 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
+
virtual void destroy (
CORBA_Object *_collocated_tao_target_,
CORBA::Environment &ACE_TRY_ENV
@@ -1678,8 +976,8 @@ public:
ACE_THROW_SPEC ((
CORBA::SystemException
));
-
-};
+
+ };
//
@@ -1688,7 +986,7 @@ public:
}
-TAO_NAMESPACE_CLOSE
+TAO_NAMESPACE_CLOSE // module ImplementationRepository
#include "ImplRepoS_T.h"