// ********************************************************************** // // Copyright (c) 2003-present 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_PROXY_FACTORY_H #define ICE_PROXY_FACTORY_H #include #include #include #include #include #include #include #include #include namespace Ice { class OutputStream; class InputStream; } namespace IceInternal { class ProxyFactory : public IceUtil::Shared { public: Ice::ObjectPrxPtr stringToProxy(const std::string&) const; std::string proxyToString(const Ice::ObjectPrxPtr&) const; Ice::ObjectPrxPtr propertyToProxy(const std::string&) const; Ice::PropertyDict proxyToProperty(const Ice::ObjectPrxPtr&, const std::string&) const; Ice::ObjectPrxPtr streamToProxy(Ice::InputStream*) const; Ice::ObjectPrxPtr referenceToProxy(const ReferencePtr&) const; int checkRetryAfterException(const Ice::LocalException&, const ReferencePtr&, int&) const; private: ProxyFactory(const InstancePtr&); virtual ~ProxyFactory(); friend class Instance; InstancePtr _instance; std::vector _retryIntervals; }; } #endif