summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-10-10 19:04:08 +0000
committerGordon Sim <gsim@apache.org>2008-10-10 19:04:08 +0000
commit45e8e3d236b9f3d64b33a74bae75b263ecd75686 (patch)
tree1a90cd27614bd2007356c09e38c84789a18e9ba0 /cpp/src/qpid/sys
parent9a9ef86db31c55cdff1133fc568e7278769adf72 (diff)
downloadqpid-python-45e8e3d236b9f3d64b33a74bae75b263ecd75686.tar.gz
Identify transports by name
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@703558 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys')
-rw-r--r--cpp/src/qpid/sys/RdmaIOPlugin.cpp2
-rw-r--r--cpp/src/qpid/sys/TCPIOPlugin.cpp2
2 files changed, 2 insertions, 2 deletions
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;