diff options
author | Marc Laukien <marc@zeroc.com> | 2001-08-14 11:52:47 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2001-08-14 11:52:47 +0000 |
commit | 91a394a09d9684d20cfa4c941cebb6b3579b9666 (patch) | |
tree | eb99bdac118a23814e1dfcd8d4e5fc64a9c8f0cc /cpp/src/Ice/ProxyFactory.h | |
parent | locator (diff) | |
download | ice-91a394a09d9684d20cfa4c941cebb6b3579b9666.tar.bz2 ice-91a394a09d9684d20cfa4c941cebb6b3579b9666.tar.xz ice-91a394a09d9684d20cfa4c941cebb6b3579b9666.zip |
changed directory structure
Diffstat (limited to 'cpp/src/Ice/ProxyFactory.h')
-rw-r--r-- | cpp/src/Ice/ProxyFactory.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/cpp/src/Ice/ProxyFactory.h b/cpp/src/Ice/ProxyFactory.h new file mode 100644 index 00000000000..fb0cc851685 --- /dev/null +++ b/cpp/src/Ice/ProxyFactory.h @@ -0,0 +1,45 @@ +// ********************************************************************** +// +// Copyright (c) 2002 +// MutableRealms, Inc. +// Huntsville, AL, USA +// +// All Rights Reserved +// +// ********************************************************************** + +#ifndef ICE_PROXY_FACTORY_H +#define ICE_PROXY_FACTORY_H + +#include <Ice/ProxyFactoryF.h> +#include <Ice/InstanceF.h> +#include <Ice/ReferenceF.h> +#include <Ice/ProxyF.h> +#include <Ice/Shared.h> + +namespace IceInternal +{ + +class Stream; + +class ProxyFactory : public Shared +{ +public: + + ::Ice::ObjectPrx stringToProxy(const std::string&); + ::Ice::ObjectPrx streamToProxy(Stream*); + ::Ice::ObjectPrx referenceToProxy(const ReferencePtr&); + void proxyToStream(const ::Ice::ObjectPrx&, Stream*); + +private: + + ProxyFactory(const InstancePtr&); + virtual ~ProxyFactory(); + friend class Instance; + + InstancePtr _instance; +}; + +} + +#endif |