Searched refs:WebSocketHandler (Results 1 – 10 of 10) sorted by relevance
33 WebSocketHandler::WebSocketHandler(struct lws* wsi) : wsi_(wsi) {} in WebSocketHandler() function in cuttlefish::WebSocketHandler35 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()
26 class WebSocketHandler {28 WebSocketHandler(struct lws* wsi);29 virtual ~WebSocketHandler() = default;64 virtual std::shared_ptr<WebSocketHandler> Build(struct lws* wsi) = 0;
65 std::shared_ptr<WebSocketHandler> InstantiateHandler(72 std::unordered_map<struct lws*, std::shared_ptr<WebSocketHandler>> handlers_ =
421 std::shared_ptr<WebSocketHandler> WebSocketServer::InstantiateHandler( in InstantiateHandler()
127 std::shared_ptr<WebSocketHandler> DeviceHandlerFactory::Build(struct lws* wsi) { in Build()128 return std::shared_ptr<WebSocketHandler>( in Build()
138 std::shared_ptr<WebSocketHandler> ClientWSHandlerFactory::Build(struct lws* wsi) { in Build()139 return std::shared_ptr<WebSocketHandler>( in Build()
29 class SignalHandler : public WebSocketHandler {
64 std::shared_ptr<WebSocketHandler> Build(struct lws* wsi) override;
27 : WebSocketHandler(wsi), in SignalHandler()
66 std::shared_ptr<WebSocketHandler> Build(struct lws* wsi) override;