diff --git a/include/Swiften/Network/DummyConnectionServer.cpp b/include/Swiften/Network/DummyConnectionServer.cpp deleted file mode 100644 index 7250dce3edf07796745807b95b55857ce8a37bcc..0000000000000000000000000000000000000000 --- a/include/Swiften/Network/DummyConnectionServer.cpp +++ /dev/null @@ -1,40 +0,0 @@ -/* - * Copyright (c) 2010 Remko Tronçon - * Licensed under the GNU General Public License v3. - * See Documentation/Licenses/GPLv3.txt for more information. - */ - -#include - -#include -#include -#include - -#include - -namespace Swift { - -DummyConnectionServer::DummyConnectionServer(EventLoop* eventLoop) : eventLoop(eventLoop) { -} - -void DummyConnectionServer::start() { -} - - -void DummyConnectionServer::stop() { - -} - -void DummyConnectionServer::acceptConnection(boost::shared_ptr connection) { - eventLoop->postEvent( - boost::bind(boost::ref(onNewConnection), connection), - shared_from_this()); -// connection->listen(); -} - - -HostAddressPort DummyConnectionServer::getAddressPort() const { - return HostAddressPort(); -} - -}