Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# This file is part of Xpra. 

2# Copyright (C) 2019 Antoine Martin <antoine@xpra.org> 

3# Xpra is released under the terms of the GNU GPL v2, or, at your option, any 

4# later version. See the file COPYING for details. 

5 

6 

7class Handler: 

8 

9 def __init__(self, client, **_kwargs): 

10 self.client = client 

11 

12 def __repr__(self): 

13 return "uri" 

14 

15 def get_digest(self) -> str: 

16 return None 

17 

18 def handle(self, packet) -> bool: 

19 if not self.client.password: 

20 return False 

21 self.client.send_challenge_reply(packet, self.client.password) 

22 return True