summaryrefslogtreecommitdiff
path: root/connectionList.cpp
diff options
context:
space:
mode:
authorOthmar Gsenger <otti@anytun.org>2007-11-06 23:28:11 +0000
committerOthmar Gsenger <otti@anytun.org>2007-11-06 23:28:11 +0000
commit49147bacbfb07337c54ddd3df94499c166a0376c (patch)
treecaca5664c5169353d78846e74395b7c601f67b01 /connectionList.cpp
parentadded router (diff)
router + connection manage eingebaut
Diffstat (limited to 'connectionList.cpp')
-rw-r--r--connectionList.cpp3
1 files changed, 2 insertions, 1 deletions
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()