WebSocketInstance 17 native_client_sdk/src/examples/api/websocket/websocket.cc explicit WebSocketInstance(PP_Instance instance) WebSocketInstance 60 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::HandleMessage(const pp::Var& var_message) { WebSocketInstance 91 native_client_sdk/src/examples/api/websocket/websocket.cc bool WebSocketInstance::IsConnected() { WebSocketInstance 99 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::Open(const std::string& url) { WebSocketInstance 108 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::Close() { WebSocketInstance 116 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::SendAsBinary(const std::string& message) { WebSocketInstance 130 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::SendAsText(const std::string& message) { WebSocketInstance 137 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::Receive() { WebSocketInstance 144 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::OnConnectCompletion(int32_t result) { WebSocketInstance 153 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::OnCloseCompletion(int32_t result) { WebSocketInstance 157 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::OnReceiveCompletion(int32_t result) { WebSocketInstance 171 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::OnConnectCompletionCallback(void* user_data, WebSocketInstance 173 native_client_sdk/src/examples/api/websocket/websocket.cc WebSocketInstance* instance = static_cast<WebSocketInstance*>(user_data); WebSocketInstance 177 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::OnCloseCompletionCallback(void* user_data, WebSocketInstance 179 native_client_sdk/src/examples/api/websocket/websocket.cc WebSocketInstance* instance = static_cast<WebSocketInstance*>(user_data); WebSocketInstance 183 native_client_sdk/src/examples/api/websocket/websocket.cc void WebSocketInstance::OnReceiveCompletionCallback(void* user_data, WebSocketInstance 185 native_client_sdk/src/examples/api/websocket/websocket.cc WebSocketInstance* instance = static_cast<WebSocketInstance*>(user_data); WebSocketInstance 197 native_client_sdk/src/examples/api/websocket/websocket.cc return new WebSocketInstance(instance);