/* * Copyright (c) 2012 Yoann Blein * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #include #include namespace Swift { BoostUDPSocketFactory::BoostUDPSocketFactory(boost::shared_ptr ioService, EventLoop* eventLoop) : ioService(ioService), eventLoop(eventLoop) { } BoostUDPSocketFactory::~BoostUDPSocketFactory() { } boost::shared_ptr BoostUDPSocketFactory::createUDPSocket() { return BoostUDPSocket::create(ioService, eventLoop); } }