summaryrefslogtreecommitdiffstats
blob: d1eb6a62efbba0be123b69dd6995075bc7a8be71 (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 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." << std::endl;
    onFinished(FileTransferError(FileTransferError::PeerError));
}

void FailingTransportSession::stop() {
}

}