summaryrefslogtreecommitdiff
path: root/cpp/src/IceSSL/EndpointI.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceSSL/EndpointI.h')
-rw-r--r--cpp/src/IceSSL/EndpointI.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/cpp/src/IceSSL/EndpointI.h b/cpp/src/IceSSL/EndpointI.h
index d27a7182a4a..584ec149848 100644
--- a/cpp/src/IceSSL/EndpointI.h
+++ b/cpp/src/IceSSL/EndpointI.h
@@ -15,6 +15,7 @@
#include <Ice/EndpointFactory.h>
#include <IceSSL/InstanceF.h>
#include <IceSSL/EndpointInfo.h>
+#include <IceSSL/SSLEngineF.h>
#include <Ice/Network.h>
namespace IceSSL
@@ -76,28 +77,27 @@ private:
const IceInternal::EndpointIPtr _delegate;
};
-class EndpointFactoryI : public IceInternal::EndpointFactory
+class EndpointFactoryI : public IceInternal::EndpointFactoryWithUnderlying
{
public:
- virtual ~EndpointFactoryI();
+ EndpointFactoryI(const InstancePtr&, Ice::Short);
- virtual Ice::Short type() const;
- virtual std::string protocol() const;
- virtual IceInternal::EndpointIPtr create(std::vector<std::string>&, bool) const;
- virtual IceInternal::EndpointIPtr read(Ice::InputStream*) const;
virtual void destroy();
- virtual IceInternal::EndpointFactoryPtr clone(const IceInternal::ProtocolInstancePtr&,
- const IceInternal::EndpointFactoryPtr&) const;
+ virtual IceInternal::EndpointFactoryPtr
+ cloneWithUnderlying(const IceInternal::ProtocolInstancePtr&, Ice::Short) const;
-private:
+protected:
- EndpointFactoryI(const InstancePtr&, const IceInternal::EndpointFactoryPtr&);
- friend class PluginI;
+ virtual IceInternal::EndpointIPtr
+ createWithUnderlying(const IceInternal::EndpointIPtr&, std::vector<std::string>&, bool) const;
+ virtual IceInternal::EndpointIPtr
+ readWithUnderlying(const IceInternal::EndpointIPtr&, Ice::InputStream*) const;
+
+private:
InstancePtr _instance;
- const IceInternal::EndpointFactoryPtr _delegate;
};
}