()
| 3212 | } |
| 3213 | |
| 3214 | _refreshCursor() { |
| 3215 | if (this._rfbConnectionState !== "connecting" && |
| 3216 | this._rfbConnectionState !== "connected") { |
| 3217 | return; |
| 3218 | } |
| 3219 | const image = this._shouldShowDotCursor() ? RFB.cursors.dot : this._cursorImage; |
| 3220 | this._cursor.change(image.rgbaPixels, |
| 3221 | image.hotx, image.hoty, |
| 3222 | image.w, image.h |
| 3223 | ); |
| 3224 | } |
| 3225 | |
| 3226 | static genDES(password, challenge) { |
| 3227 | const passwordChars = password.split('').map(c => c.charCodeAt(0)); |
no test coverage detected