Salome HOME
Fast SSL porting for testbase
[samples/component.git] / src / DataStreamComponent / DataStreamComponent_Impl.hxx
index b269a42f58ae08acabb45f08721d9971ed39b84e..d5e4403bfab560d11175793f2da84243f95c092b 100644 (file)
@@ -52,7 +52,7 @@ public:
                          PortableServer::POA_ptr poa,
                          PortableServer::ObjectId * contId, 
                          const char *instanceName,
-                          const char *interfaceName);
+                          const char *interfaceName, bool withRegistry);
 
   virtual ~DataStreamFactory_Impl();
 
@@ -76,6 +76,26 @@ private:
 
 };
 
+class DATASTREAMFACTORYENGINE_EXPORT DataStreamFactory_Impl_SSL : public DataStreamFactory_Impl
+{
+public:
+  DataStreamFactory_Impl_SSL( CORBA::ORB_ptr orb,
+                         PortableServer::POA_ptr poa,
+                         PortableServer::ObjectId * contId, 
+                         const char *instanceName,
+                          const char *interfaceName):DataStreamFactory_Impl(orb,poa,contId,instanceName,interfaceName,false) { }
+};
+
+class DATASTREAMFACTORYENGINE_EXPORT DataStreamFactory_Impl_No_SSL : public DataStreamFactory_Impl
+{
+public:
+  DataStreamFactory_Impl_No_SSL( CORBA::ORB_ptr orb,
+                         PortableServer::POA_ptr poa,
+                         PortableServer::ObjectId * contId, 
+                         const char *instanceName,
+                          const char *interfaceName):DataStreamFactory_Impl(orb,poa,contId,instanceName,interfaceName,true) { }
+};
+
 extern "C"
   DATASTREAMFACTORYENGINE_EXPORT
   PortableServer::ObjectId * DataStreamFactoryEngine_factory