()
| 3014 | } |
| 3015 | |
| 3016 | _handleDesktopName() { |
| 3017 | if (this._sock.rQwait("DesktopName", 4)) { |
| 3018 | return false; |
| 3019 | } |
| 3020 | |
| 3021 | let length = this._sock.rQshift32(); |
| 3022 | |
| 3023 | if (this._sock.rQwait("DesktopName", length, 4)) { |
| 3024 | return false; |
| 3025 | } |
| 3026 | |
| 3027 | let name = this._sock.rQshiftStr(length); |
| 3028 | name = decodeUTF8(name, true); |
| 3029 | |
| 3030 | this._setDesktopName(name); |
| 3031 | |
| 3032 | return true; |
| 3033 | } |
| 3034 | |
| 3035 | _handleLedEvent() { |
| 3036 | if (this._sock.rQwait("LED status", 1)) { |
no test coverage detected