#include "remoting/host/ftl_echo_message_listener.h"
#include "base/logging.h"
#include "remoting/base/logging.h"
#include "remoting/proto/ftl/v1/chromoting_message.pb.h"
#include "remoting/proto/ftl/v1/ftl_messages.pb.h"
#include "remoting/signaling/signaling_address.h"
namespace {
constexpr int kMaxEchoMessageLength = …;
}
namespace remoting {
FtlEchoMessageListener::FtlEchoMessageListener(std::string host_owner,
SignalStrategy* signal_strategy)
: … { … }
FtlEchoMessageListener::~FtlEchoMessageListener() { … }
void FtlEchoMessageListener::OnSignalStrategyStateChange(
SignalStrategy::State state) { … }
bool FtlEchoMessageListener::OnSignalStrategyIncomingStanza(
const jingle_xmpp::XmlElement* stanza) { … }
bool FtlEchoMessageListener::OnSignalStrategyIncomingMessage(
const ftl::Id& sender_id,
const std::string& sender_registration_id,
const ftl::ChromotingMessage& request_message) { … }
}