/* * Copyright (c) 2011 Tobias Markmann * Licensed under the simplified BSD license. * See Documentation/Licenses/BSD-simplified.txt for more information. */ #pragma once #include #include namespace Swift { class PlatformNATTraversalWorker; class PlatformNATTraversalRequest : public boost::enable_shared_from_this { public: typedef boost::shared_ptr ref; public: PlatformNATTraversalRequest(PlatformNATTraversalWorker* worker); virtual ~PlatformNATTraversalRequest(); virtual void run(); virtual void runBlocking() = 0; private: PlatformNATTraversalWorker* worker; }; }