%PDF- %PDF-
| Direktori : /usr/share/system-config-printer/__pycache__/ |
| Current File : //usr/share/system-config-printer/__pycache__/asyncipp.cpython-312.pyc |
�
Hf�h � � � d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ d dlmZ d dlZ ej d� d dl
Z
d dl� d dlZd dlZ ej ej ej �� G d � d
e j � Z G d� d� Z G d
� d� Z G d� de� Zedk( r+ ed� G d� d� Z e� ej0 � yy)� N)�GObject)�GLib)�Gdk)�Gtkz1.9.60)�*)�domain� localedirc �F � e Zd Z d
d�Zd� Zd� Zd� Zd� Zdd�Zd� Z d � Z
y)�_IPPConnectionThreadNc
�@ � t j j | � | j d� || _ || _ || _ || _ | | _ || _ || _
|| _ t j d� | _ || _ d| _ t# d| z � y )NT� F�+%s)� threading�Thread�__init__� setDaemon�_queue�_conn�host�port�_encryption�_reply_handler�_error_handler�
_auth_handler�queue�Queue�_auth_queue�user�
_destroyed�
debugprint)
�self�myqueue�conn�
reply_handler�
error_handler�auth_handlerr r r �
encryptions
�,/usr/share/system-config-printer/asyncipp.pyr z_IPPConnectionThread.__init__0 s� � � ���!�!�4�(�����������
��� ��� �%���+���+���)��� �;�;�q�>����� �����E�D�L�!� c �4 � t j d| z � y �Nz-%s��debugr �r! s r( �__del__z_IPPConnectionThread.__del__C � � �
���%�$�,�'r) c �: � | j j |� y �N)r �put�r! �passwords r( �
set_auth_infoz"_IPPConnectionThread.set_auth_infoF s � ������h�'r) c � � | j �t j � | _ | j �t j � | _ | j
�t j � | _ | j r t j | j � nt j � | _ t j | j � t j | j | j | j
�� }| j d � t! d� | j"