◆ ~DataChannelHandler()
virtual cuttlefish::webrtc_streaming::DataChannelHandler::~DataChannelHandler |
( |
| ) |
|
|
virtualdefault |
◆ channel()
virtual rtc::scoped_refptr< webrtc::DataChannelInterface > cuttlefish::webrtc_streaming::DataChannelHandler::channel |
( |
| ) |
|
|
protectedpure virtual |
◆ GetBinarySender()
std::function< bool(const uint8_t *, size_t len)> cuttlefish::webrtc_streaming::DataChannelHandler::GetBinarySender |
( |
| ) |
|
|
inlineprotected |
◆ GetJSONSender()
std::function< bool(const Json::Value &)> cuttlefish::webrtc_streaming::DataChannelHandler::GetJSONSender |
( |
| ) |
|
|
inlineprotected |
◆ observer()
virtual std::shared_ptr< ConnectionObserver > cuttlefish::webrtc_streaming::DataChannelHandler::observer |
( |
| ) |
|
|
protectedpure virtual |
◆ OnFirstMessage()
virtual void cuttlefish::webrtc_streaming::DataChannelHandler::OnFirstMessage |
( |
| ) |
|
|
inlineprotectedvirtual |
◆ OnMessage()
void cuttlefish::webrtc_streaming::DataChannelHandler::OnMessage |
( |
const webrtc::DataBuffer & |
msg | ) |
|
|
override |
◆ OnMessageInner()
virtual Result< void > cuttlefish::webrtc_streaming::DataChannelHandler::OnMessageInner |
( |
const webrtc::DataBuffer & |
msg | ) |
|
|
protectedpure virtual |
Implemented in cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::UnknownChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::InputChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::ControlChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::AdbChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::BluetoothChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::CameraChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::SensorsChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::LightsChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::LocationChannelHandler, cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::KmlLocationChannelHandler, and cuttlefish::webrtc_streaming::anonymous_namespace{data_channels.cpp}::GpxLocationChannelHandler.
◆ OnStateChange()
void cuttlefish::webrtc_streaming::DataChannelHandler::OnStateChange |
( |
| ) |
|
|
override |
◆ OnStateChangeInner()
virtual void cuttlefish::webrtc_streaming::DataChannelHandler::OnStateChangeInner |
( |
webrtc::DataChannelInterface::DataState |
| ) |
|
|
inlineprotectedvirtual |
◆ Send() [1/2]
bool cuttlefish::webrtc_streaming::DataChannelHandler::Send |
( |
const Json::Value & |
message | ) |
|
◆ Send() [2/2]
bool cuttlefish::webrtc_streaming::DataChannelHandler::Send |
( |
const uint8_t * |
msg, |
|
|
size_t |
size, |
|
|
bool |
binary |
|
) |
| |
◆ first_msg_received_
bool cuttlefish::webrtc_streaming::DataChannelHandler::first_msg_received_ = false |
|
private |
The documentation for this class was generated from the following file: