summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/EndpointFactory.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2015-02-06 11:43:41 +0100
committerBenoit Foucher <benoit@zeroc.com>2015-02-06 11:43:41 +0100
commite591999d8782430e68c5917552ae50aa9bcf1e9d (patch)
tree287d1d317c8d60cbbe76e63bcbed20e75e12cee6 /cpp/src/Ice/EndpointFactory.cpp
parentMinor fix to Ice discovery hello server configuration (diff)
downloadice-e591999d8782430e68c5917552ae50aa9bcf1e9d.tar.bz2
ice-e591999d8782430e68c5917552ae50aa9bcf1e9d.tar.xz
ice-e591999d8782430e68c5917552ae50aa9bcf1e9d.zip
Added C++ plugins for endpoint factories, cleaned up registration of WS factories
Diffstat (limited to 'cpp/src/Ice/EndpointFactory.cpp')
-rw-r--r--cpp/src/Ice/EndpointFactory.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/cpp/src/Ice/EndpointFactory.cpp b/cpp/src/Ice/EndpointFactory.cpp
index 75e2e5cf661..7d5e93eb5c5 100644
--- a/cpp/src/Ice/EndpointFactory.cpp
+++ b/cpp/src/Ice/EndpointFactory.cpp
@@ -8,6 +8,8 @@
// **********************************************************************
#include <Ice/EndpointFactory.h>
+#include <Ice/Instance.h>
+#include <Ice/EndpointFactoryManager.h>
using namespace std;
using namespace Ice;
@@ -23,3 +25,19 @@ IceInternal::EndpointFactory::~EndpointFactory()
{
}
+IceInternal::EndpointFactoryPlugin::EndpointFactoryPlugin(const CommunicatorPtr& communicator,
+ const EndpointFactoryPtr& factory)
+{
+ assert(communicator);
+ getInstance(communicator)->endpointFactoryManager()->add(factory);
+}
+
+void
+IceInternal::EndpointFactoryPlugin::initialize()
+{
+}
+
+void
+IceInternal::EndpointFactoryPlugin::destroy()
+{
+}