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