/* * Copyright (c) 2011 Jan Kaluza * Licensed under the Simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #include #include namespace Swift { DummyConnectionServerFactory::DummyConnectionServerFactory(EventLoop* eventLoop) : eventLoop(eventLoop) { } SWIFTEN_SHRPTR_NAMESPACE::shared_ptr DummyConnectionServerFactory::createConnectionServer(int port) { return DummyConnectionServer::create(eventLoop); } SWIFTEN_SHRPTR_NAMESPACE::shared_ptr DummyConnectionServerFactory::createConnectionServer(const Swift::HostAddress &hostAddress, int port) { return DummyConnectionServer::create(eventLoop); } }