summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/WSEndpoint.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/WSEndpoint.h')
-rw-r--r--cpp/src/Ice/WSEndpoint.h19
1 files changed, 6 insertions, 13 deletions
diff --git a/cpp/src/Ice/WSEndpoint.h b/cpp/src/Ice/WSEndpoint.h
index fe38fe331cf..8cb1b39b235 100644
--- a/cpp/src/Ice/WSEndpoint.h
+++ b/cpp/src/Ice/WSEndpoint.h
@@ -79,25 +79,18 @@ private:
const std::string _resource;
};
-class ICE_API WSEndpointFactory : public EndpointFactory
+class ICE_API WSEndpointFactory : public EndpointFactoryWithUnderlying
{
public:
- WSEndpointFactory(const ProtocolInstancePtr&, const EndpointFactoryPtr&);
- virtual ~WSEndpointFactory();
+ WSEndpointFactory(const ProtocolInstancePtr&, Ice::Short);
- virtual Ice::Short type() const;
- virtual std::string protocol() const;
- virtual EndpointIPtr create(std::vector<std::string>&, bool) const;
- virtual EndpointIPtr read(Ice::InputStream*) const;
- virtual void destroy();
-
- virtual EndpointFactoryPtr clone(const ProtocolInstancePtr&, const EndpointFactoryPtr&) const;
+ virtual EndpointFactoryPtr cloneWithUnderlying(const ProtocolInstancePtr&, Ice::Short) const;
-private:
+protected:
- ProtocolInstancePtr _instance;
- const EndpointFactoryPtr _delegate;
+ virtual EndpointIPtr createWithUnderlying(const EndpointIPtr&, std::vector<std::string>&, bool) const;
+ virtual EndpointIPtr readWithUnderlying(const EndpointIPtr&, Ice::InputStream*) const;
};
}