summaryrefslogtreecommitdiffstats
blob: b9c79a0479dfd4c781d092a1f54b46072b1e69f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
 * Copyright (c) 2016-2019 Isode Limited.
 * All rights reserved.
 * See the COPYING file for more information.
 */

#include <Swiften/FileTransfer/FailingTransportSession.h>

#include <Swiften/Base/Log.h>

namespace Swift {

FailingTransportSession::~FailingTransportSession() {
}

void FailingTransportSession::start() {
    SWIFT_LOG(error) << "Trying to start failing transport.";
    onFinished(FileTransferError(FileTransferError::PeerError));
}

void FailingTransportSession::stop() {
}

}