From 49147bacbfb07337c54ddd3df94499c166a0376c Mon Sep 17 00:00:00 2001 From: Othmar Gsenger Date: Tue, 6 Nov 2007 23:28:11 +0000 Subject: router + connection manage eingebaut --- connectionList.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'connectionList.cpp') diff --git a/connectionList.cpp b/connectionList.cpp index 0395284..2b857f3 100644 --- a/connectionList.cpp +++ b/connectionList.cpp @@ -41,9 +41,10 @@ ConnectionList::~ConnectionList() { } -void ConnectionList::addConnection() +void ConnectionList::addConnection(ConnectionParam &conn, const std::string &name) { Lock lock(mutex_); + connections_[name]=conn; } void ConnectionList::clear() -- cgit v1.2.3