diff options
Diffstat (limited to 'cpp/src/IceGrid/LocatorRegistryI.h')
-rw-r--r-- | cpp/src/IceGrid/LocatorRegistryI.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/cpp/src/IceGrid/LocatorRegistryI.h b/cpp/src/IceGrid/LocatorRegistryI.h new file mode 100644 index 00000000000..21ff4b28339 --- /dev/null +++ b/cpp/src/IceGrid/LocatorRegistryI.h @@ -0,0 +1,44 @@ + +// ********************************************************************** +// +// Copyright (c) 2003-2005 ZeroC, Inc. All rights reserved. +// +// This copy of Ice is licensed to you under the terms described in the +// ICE_LICENSE file included in this distribution. +// +// ********************************************************************** + +#ifndef ICE_GRID_LOCATOR_REGISTRY_I_H +#define ICE_GRID_LOCATOR_REGISTRY_I_H + +#include <IceGrid/Internal.h> +#include <Ice/Locator.h> + +namespace IceGrid +{ + +class AdapterFactory; +typedef IceUtil::Handle<AdapterFactory> AdapterFactoryPtr; + +class LocatorRegistryI : public Ice::LocatorRegistry +{ +public: + + LocatorRegistryI(const AdapterRegistryPtr&, const ServerRegistryPtr&, const AdapterFactoryPtr&, bool); + + virtual void setAdapterDirectProxy_async(const Ice::AMD_LocatorRegistry_setAdapterDirectProxyPtr&, + const ::std::string&, const ::Ice::ObjectPrx&, const ::Ice::Current&); + virtual void setServerProcessProxy_async(const Ice::AMD_LocatorRegistry_setServerProcessProxyPtr&, + const ::std::string&, const ::Ice::ProcessPrx&, const ::Ice::Current&); + +private: + + const AdapterRegistryPtr _adapterRegistry; + const ServerRegistryPtr _serverRegistry; + const AdapterFactoryPtr _adapterFactory; + const bool _dynamicRegistration; +}; + +} + +#endif |