Files
@ c7ef038fecbd
Branch filter:
Location: libtransport.git/include/Swiften/Network/DummyConnectionFactory.h - annotation
c7ef038fecbd
571 B
text/plain
Call purple_account_disconnect before set_enabled to avoid race condition with PurpleConnection disconnect timer
75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 75bc454c85c2 | /*
* Copyright (c) 2010 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#pragma once
#include <boost/asio/io_service.hpp>
#include <Swiften/Network/ConnectionFactory.h>
#include <Swiften/Network/DummyConnection.h>
namespace Swift {
class DummyConnection;
class DummyConnectionFactory : public ConnectionFactory {
public:
DummyConnectionFactory(EventLoop* eventLoop);
virtual boost::shared_ptr<Connection> createConnection();
private:
EventLoop* eventLoop;
};
}
|