diff options
author | Othmar Gsenger <otti@anytun.org> | 2007-11-06 23:28:11 +0000 |
---|---|---|
committer | Othmar Gsenger <otti@anytun.org> | 2007-11-06 23:28:11 +0000 |
commit | 49147bacbfb07337c54ddd3df94499c166a0376c (patch) | |
tree | caca5664c5169353d78846e74395b7c601f67b01 /connectionList.cpp | |
parent | added router (diff) |
router + connection manage eingebaut
Diffstat (limited to 'connectionList.cpp')
-rw-r--r-- | connectionList.cpp | 3 |
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() |