Home
last modified time | relevance | path

Searched refs:WebSocketHandler (Results 1 – 10 of 10) sorted by relevance

/device/google/cuttlefish/host/libs/websocket/
Dwebsocket_handler.cpp33 WebSocketHandler::WebSocketHandler(struct lws* wsi) : wsi_(wsi) {} in WebSocketHandler() function in cuttlefish::WebSocketHandler
35 void WebSocketHandler::EnqueueMessage(const uint8_t* data, size_t len, in EnqueueMessage()
45 void WebSocketHandler::WriteWsBuffer(WebSocketHandler::WsBuffer& ws_buffer) { in WriteWsBuffer()
63 bool WebSocketHandler::OnWritable() { in OnWritable()
77 void WebSocketHandler::Close() { in Close()
Dwebsocket_handler.h26 class WebSocketHandler {
28 WebSocketHandler(struct lws* wsi);
29 virtual ~WebSocketHandler() = default;
64 virtual std::shared_ptr<WebSocketHandler> Build(struct lws* wsi) = 0;
Dwebsocket_server.h65 std::shared_ptr<WebSocketHandler> InstantiateHandler(
72 std::unordered_map<struct lws*, std::shared_ptr<WebSocketHandler>> handlers_ =
Dwebsocket_server.cpp421 std::shared_ptr<WebSocketHandler> WebSocketServer::InstantiateHandler( in InstantiateHandler()
/device/google/cuttlefish/host/frontend/webrtc_operator/
Ddevice_handler.cpp127 std::shared_ptr<WebSocketHandler> DeviceHandlerFactory::Build(struct lws* wsi) { in Build()
128 return std::shared_ptr<WebSocketHandler>( in Build()
Dclient_handler.cpp138 std::shared_ptr<WebSocketHandler> ClientWSHandlerFactory::Build(struct lws* wsi) { in Build()
139 return std::shared_ptr<WebSocketHandler>( in Build()
Dsignal_handler.h29 class SignalHandler : public WebSocketHandler {
Ddevice_handler.h64 std::shared_ptr<WebSocketHandler> Build(struct lws* wsi) override;
Dsignal_handler.cpp27 : WebSocketHandler(wsi), in SignalHandler()
Dclient_handler.h66 std::shared_ptr<WebSocketHandler> Build(struct lws* wsi) override;