Exemplo n.º 1
0
 def rfb_protocol_class(conn):
     auths = self.make_authenticators("rfb", "rfb", conn)
     assert len(
         auths
     ) <= 1, "rfb does not support multiple authentication modules"
     auth = None
     if len(auths) == 1:
         auth = auths[0]
     return RFBProtocol(self, conn, auth, self.process_rfb_packet,
                        self.get_rfb_pixelformat, self.session_name
                        or "Xpra Server")
Exemplo n.º 2
0
 def rfb_protocol_class(conn):
     auth = self.make_authenticator("rfb", "rfb", conn)
     return RFBProtocol(self, conn, auth, self.process_rfb_packet,
                        self.get_rfb_pixelformat, self.session_name
                        or "Xpra Server")