示例#1
0
 def __init__(self):
     StubClientMixin.__init__(self)
     FileTransferHandler.__init__(self)
     self.printer_attributes = []
     self.send_printers_timer = 0
     self.exported_printers = None
     self.remote_request_file = False
示例#2
0
 def __init__(self):
     FileTransferHandler.__init__(self)
     self.supports_mmap = False
     self.mmap = None
     self.mmap_enabled = False
     self.session_name = ""
     self._focused = None
     self.readonly = False
     self.windows_enabled = True
     self.can_scale = True
     self.start_new_commands = True
     self.server_supports_bell = True
     self.client_supports_bell = True
     self.notifications_enabled = True
     self.client_supports_notifications = True
     self.cursors_enabled = True
     self.server_supports_cursors = True
     self.client_supports_cursors = True
     self.server_supports_clipboard = True
     self.client_supports_clipboard = True
     self.client_clipboard_direction = "both"
     self.quality = 80
     self.speed = 80
     self.encoding = "png"
     self.server_encodings_with_quality = []
     self.server_encodings_with_speed = []
     self.speaker_allowed = True
     self.speaker_enabled = True
     self.microphone_allowed = True
     self.microphone_enabled = True
     self.server_sound_send = True
     self.server_sound_receive = True
     self.server_readonly = False
     self.bell_enabled = True
     self.webcam_forwarding = True
     self.webcam_device = None
     self.server_virtual_video_devices = 0
     self.client_supports_opengl = False
     self.title = "test"
     self.keyboard_helper = None
     self.clipboard_helper = None
     self._id_to_window = {}
     self._window_to_id = {}
     self.server_window_decorations = False
     self.server_window_frame_extents = False
     self.encoding_defaults = {}
     self.window_configure_skip_geometry = True
     self.window_configure_pointer = True
     self.xscale = 1
     self.yscale = 1
     self.log_events = True
     self.handshake_callbacks = []
示例#3
0
 def __init__(self):
     FileTransferHandler.__init__(self)
     self.supports_mmap = False
     self.mmap = None
     self.mmap_enabled = False
     self.session_name = ""
     self._focused = None
     self.readonly = False
     self.windows_enabled = True
     self.can_scale = True
     self.start_new_commands = True
     self.server_supports_bell = True
     self.client_supports_bell = True
     self.notifications_enabled = True
     self.client_supports_notifications = True
     self.cursors_enabled = True
     self.server_supports_cursors = True
     self.client_supports_cursors = True
     self.server_supports_clipboard = True
     self.client_supports_clipboard = True
     self.client_clipboard_direction = "both"
     self.quality = 80
     self.speed = 80
     self.encoding = "png"
     self.server_encodings_with_quality = []
     self.server_encodings_with_speed = []
     self.speaker_allowed = True
     self.speaker_enabled = True
     self.microphone_allowed = True
     self.microphone_enabled = True
     self.server_sound_send = True
     self.server_sound_receive = True
     self.server_readonly = False
     self.bell_enabled = True
     self.webcam_forwarding = True
     self.webcam_device = None
     self.server_virtual_video_devices = 0
     self.client_supports_opengl = False
     self.title = "test"
     self.keyboard_helper = None
     self.clipboard_helper = None
     self._id_to_window = {}
     self._window_to_id = {}
     self.server_window_decorations = False
     self.server_window_frame_extents = False
     self.encoding_defaults = {}
     self.window_configure_skip_geometry = True
     self.window_configure_pointer = True
     self.xscale = 1
     self.yscale = 1
     self.log_events = True
     self.handshake_callbacks = []
示例#4
0
 def __init__(self):
     FileTransferHandler.__init__(self)
     #this may be called more than once,
     #skip doing internal init again:
     if not hasattr(self, "exit_code"):
         self.defaults_init()
示例#5
0
 def __init__(self):
     FileTransferHandler.__init__(self)
     #this may be called more than once,
     #skip doing internal init again:
     if not hasattr(self, "exit_code"):
         self.defaults_init()