diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 11:39:41 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-06-06 11:39:41 +0200 |
commit | 966061fcb0e2ec4d5d7ed9c6c280eefb27209da7 (patch) | |
tree | 078246631fb864d9e908108d69917b18c6303c16 /cppe/src/IceE/ReferenceFactory.h | |
parent | Removed SL code (diff) | |
download | ice-966061fcb0e2ec4d5d7ed9c6c280eefb27209da7.tar.bz2 ice-966061fcb0e2ec4d5d7ed9c6c280eefb27209da7.tar.xz ice-966061fcb0e2ec4d5d7ed9c6c280eefb27209da7.zip |
Removed Ice-E
Diffstat (limited to 'cppe/src/IceE/ReferenceFactory.h')
-rw-r--r-- | cppe/src/IceE/ReferenceFactory.h | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/cppe/src/IceE/ReferenceFactory.h b/cppe/src/IceE/ReferenceFactory.h deleted file mode 100644 index d867a926340..00000000000 --- a/cppe/src/IceE/ReferenceFactory.h +++ /dev/null @@ -1,100 +0,0 @@ -// ********************************************************************** -// -// Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -// -// This copy of Ice-E is licensed to you under the terms described in the -// ICEE_LICENSE file included in this distribution. -// -// ********************************************************************** - -#ifndef ICEE_REFERENCE_FACTORY_H -#define ICEE_REFERENCE_FACTORY_H - -#include <IceE/ReferenceFactoryF.h> -#include <IceE/ConnectionF.h> -#include <IceE/Shared.h> -#include <IceE/Mutex.h> -#include <IceE/Reference.h> // For ReferenceMode - -namespace IceInternal -{ - -class ReferenceFactory : public ::IceUtil::Shared, public ::IceUtil::Mutex -{ -public: - - // - // Make a polymorphic copy of a reference. - // - ReferencePtr copy(const Reference* r) const; - - // - // Create a direct reference. - // - ReferencePtr create(const ::Ice::Identity&, const Ice::Context&, const ::std::string&, ReferenceMode, bool, - const ::std::vector<EndpointPtr>& -#ifdef ICEE_HAS_ROUTER - , const RouterInfoPtr& -#endif - ); - // - // Create an indirect reference. - // -#ifdef ICEE_HAS_LOCATOR - ReferencePtr create(const ::Ice::Identity&, const Ice::Context&, const ::std::string&, ReferenceMode, bool, - const ::std::string& -#ifdef ICEE_HAS_ROUTER - , const RouterInfoPtr& -#endif - , const LocatorInfoPtr&); -#endif - // - // Create a fixed reference. - // - ReferencePtr create(const ::Ice::Identity&, const Ice::Context&, const ::std::string&, ReferenceMode, - const ::std::vector< ::Ice::ConnectionPtr>&); - - // - // Create a reference from a string. - // - ReferencePtr create(const ::std::string&); - - // - // Create a reference by unmarshaling it from a stream. - // - ReferencePtr create(const ::Ice::Identity&, BasicStream*); - - // - // Create a reference from a property set. - // - ReferencePtr createFromProperties(const ::std::string&); - -#ifdef ICEE_HAS_ROUTER - void setDefaultRouter(const ::Ice::RouterPrx&); - ::Ice::RouterPrx getDefaultRouter() const; -#endif - -#ifdef ICEE_HAS_LOCATOR - void setDefaultLocator(const ::Ice::LocatorPrx&); - ::Ice::LocatorPrx getDefaultLocator() const; -#endif - -private: - - ReferenceFactory(const InstancePtr&, const Ice::CommunicatorPtr&); - void destroy(); - friend class Instance; - - InstancePtr _instance; - Ice::CommunicatorPtr _communicator; -#ifdef ICEE_HAS_ROUTER - ::Ice::RouterPrx _defaultRouter; -#endif -#ifdef ICEE_HAS_LOCATOR - ::Ice::LocatorPrx _defaultLocator; -#endif -}; - -} - -#endif |