#include "remoting/protocol/jingle_session_manager.h"
#include <utility>
#include "base/functional/bind.h"
#include "remoting/protocol/authenticator.h"
#include "remoting/protocol/content_description.h"
#include "remoting/protocol/jingle_messages.h"
#include "remoting/protocol/jingle_session.h"
#include "remoting/protocol/session_observer.h"
#include "remoting/protocol/transport.h"
#include "remoting/signaling/iq_sender.h"
#include "remoting/signaling/signal_strategy.h"
#include "remoting/signaling/xmpp_constants.h"
#include "third_party/libjingle_xmpp/xmllite/xmlelement.h"
#include "third_party/webrtc/rtc_base/socket_address.h"
QName;
namespace remoting::protocol {
JingleSessionManager::JingleSessionManager(SignalStrategy* signal_strategy)
: … { … }
JingleSessionManager::~JingleSessionManager() { … }
void JingleSessionManager::AcceptIncoming(
const IncomingSessionCallback& incoming_session_callback) { … }
void JingleSessionManager::set_protocol_config(
std::unique_ptr<CandidateSessionConfig> config) { … }
std::unique_ptr<Session> JingleSessionManager::Connect(
const SignalingAddress& peer_address,
std::unique_ptr<Authenticator> authenticator) { … }
void JingleSessionManager::set_authenticator_factory(
std::unique_ptr<AuthenticatorFactory> authenticator_factory) { … }
SessionObserver::Subscription JingleSessionManager::AddSessionObserver(
SessionObserver* observer) { … }
void JingleSessionManager::RemoveSessionObserver(SessionObserver* observer) { … }
void JingleSessionManager::OnSignalStrategyStateChange(
SignalStrategy::State state) { … }
bool JingleSessionManager::OnSignalStrategyIncomingStanza(
const jingle_xmpp::XmlElement* stanza) { … }
void JingleSessionManager::SendReply(
std::unique_ptr<jingle_xmpp::XmlElement> original_stanza,
JingleMessageReply::ErrorType error) { … }
void JingleSessionManager::SessionDestroyed(JingleSession* session) { … }
}