diff options
author | Benoit Foucher <benoit@zeroc.com> | 2015-02-06 11:43:41 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2015-02-06 11:43:41 +0100 |
commit | e591999d8782430e68c5917552ae50aa9bcf1e9d (patch) | |
tree | 287d1d317c8d60cbbe76e63bcbed20e75e12cee6 /cpp/src/Ice/UdpEndpointI.cpp | |
parent | Minor fix to Ice discovery hello server configuration (diff) | |
download | ice-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/UdpEndpointI.cpp')
-rw-r--r-- | cpp/src/Ice/UdpEndpointI.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/Ice/UdpEndpointI.cpp b/cpp/src/Ice/UdpEndpointI.cpp index 66e0f7269e3..6b0584fb2ba 100644 --- a/cpp/src/Ice/UdpEndpointI.cpp +++ b/cpp/src/Ice/UdpEndpointI.cpp @@ -24,6 +24,17 @@ using namespace IceInternal; IceUtil::Shared* IceInternal::upCast(UdpEndpointI* p) { return p; } +extern "C" +{ + +Plugin* +createIceUDP(const CommunicatorPtr& c, const string&, const StringSeq&) +{ + return new EndpointFactoryPlugin(c, new UdpEndpointFactory(new ProtocolInstance(c, UDPEndpointType, "udp", false))); +} + +} + IceInternal::UdpEndpointI::UdpEndpointI(const ProtocolInstancePtr& instance, const string& host, Int port, const Address& sourceAddr, const string& mcastInterface, Int mttl, bool conn, const string& conId, bool co) : |