blob: 0ca899f853bd33f4dc06e0d38da1e4f419eb29ff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/*
* Copyright (c) 2011 Remko Tronçon
* Licensed under the GNU General Public License v3.
* See Documentation/Licenses/GPLv3.txt for more information.
*/
#include <Swiften/FileTransfer/JingleIncomingIBBTransport.h>
namespace Swift {
JingleIncomingIBBTransport::JingleIncomingIBBTransport(const JID& from, const std::string& id, size_t size, IQRouter* router) : ibbSession(from, id, size, router) {
ibbSession.onDataReceived.connect(boost::ref(onDataReceived));
}
void JingleIncomingIBBTransport::start() {
ibbSession.start();
}
void JingleIncomingIBBTransport::stop() {
ibbSession.stop();
}
}
|