Пример #1
0
 def get_info(self, proto):
     info = ServerBase.get_info(self, proto)
     info["shadow"] = True
     info["server_type"] = "gtk-shadow"
     return info
Пример #2
0
 def make_hello(self):
     capabilities = ServerBase.make_hello(self)
     capabilities["shadow"] = True
     capabilities["server_type"] = "gtk-shadow"
     return capabilities
Пример #3
0
 def __init__(self, sockets, opts):
     ShadowServerBase.__init__(self)
     ServerBase.__init__(self, True, sockets, opts)
     self.keycodes = {}
Пример #4
0
 def get_info(self, proto):
     info = ServerBase.get_info(self, proto)
     info["shadow"] = True
     info["server_type"] = "gtk-shadow"
     return info
Пример #5
0
 def make_hello(self):
     capabilities = ServerBase.make_hello(self)
     capabilities["shadow"] = True
     capabilities["server_type"] = "gtk-shadow"
     return capabilities
Пример #6
0
 def __init__(self, sockets, opts):
     ShadowServerBase.__init__(self)
     ServerBase.__init__(self, True, sockets, opts)
     self.keycodes = {}