blob: 7c015f00da98ea9221877162ab8ba7b814ff6b3c (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
/*
* Copyright (c) 2013-2016 Isode Limited.
* All rights reserved.
* See the COPYING file for more information.
*/
#pragma once
#include <Swiften/Base/API.h>
#include <Swiften/Elements/JinglePayload.h>
namespace Swift {
class JingleContentID;
class JingleTransportPayload;
class JingleDescription;
class SWIFTEN_API JingleSessionListener {
public:
virtual ~JingleSessionListener();
virtual void handleSessionAcceptReceived(
const JingleContentID&,
std::shared_ptr<JingleDescription>,
std::shared_ptr<JingleTransportPayload>) = 0;
virtual void handleSessionInfoReceived(std::shared_ptr<JinglePayload>) = 0;
virtual void handleSessionTerminateReceived(boost::optional<JinglePayload::Reason>) = 0;
virtual void handleTransportAcceptReceived(
const JingleContentID&,
std::shared_ptr<JingleTransportPayload>) = 0;
virtual void handleTransportInfoReceived(
const JingleContentID&,
std::shared_ptr<JingleTransportPayload>) = 0;
virtual void handleTransportRejectReceived(
const JingleContentID&, std::shared_ptr<JingleTransportPayload>) = 0;
virtual void handleTransportReplaceReceived(
const JingleContentID&, std::shared_ptr<JingleTransportPayload>) = 0;
virtual void handleTransportInfoAcknowledged(const std::string& id) = 0;
};
}
|