From 45e8e3d236b9f3d64b33a74bae75b263ecd75686 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Fri, 10 Oct 2008 19:04:08 +0000 Subject: Identify transports by name git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703558 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/sys/RdmaIOPlugin.cpp | 2 +- cpp/src/qpid/sys/TCPIOPlugin.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cpp/src/qpid/sys') diff --git a/cpp/src/qpid/sys/RdmaIOPlugin.cpp b/cpp/src/qpid/sys/RdmaIOPlugin.cpp index 6ea006df9d..9a4452cc17 100644 --- a/cpp/src/qpid/sys/RdmaIOPlugin.cpp +++ b/cpp/src/qpid/sys/RdmaIOPlugin.cpp @@ -217,7 +217,7 @@ static class RdmaIOPlugin : public Plugin { const broker::Broker::Options& opts = broker->getOptions(); ProtocolFactory::shared_ptr protocol(new RdmaIOProtocolFactory(opts.port, opts.connectionBacklog)); QPID_LOG(info, "Listening on RDMA port " << protocol->getPort()); - broker->registerProtocolFactory(protocol); + broker->registerProtocolFactory("rdma", protocol); } } } rdmaPlugin; diff --git a/cpp/src/qpid/sys/TCPIOPlugin.cpp b/cpp/src/qpid/sys/TCPIOPlugin.cpp index f38cf88e45..40edfa816f 100644 --- a/cpp/src/qpid/sys/TCPIOPlugin.cpp +++ b/cpp/src/qpid/sys/TCPIOPlugin.cpp @@ -67,7 +67,7 @@ static class TCPIOPlugin : public Plugin { const broker::Broker::Options& opts = broker->getOptions(); ProtocolFactory::shared_ptr protocol(new AsynchIOProtocolFactory(opts.port, opts.connectionBacklog, opts.tcpNoDelay)); QPID_LOG(info, "Listening on TCP port " << protocol->getPort()); - broker->registerProtocolFactory(protocol); + broker->registerProtocolFactory("tcp", protocol); } } } tcpPlugin; -- cgit v1.2.1