File: //usr/lib/python3.9/site-packages/pycriu/__pycache__/criu.cpython-39.pyc
a
k�x]! � @ s� d dl Z d dlZd dlZd dlZd dlZd dlmZ G dd� d�ZG dd� de�Z G dd� de�Z
G dd � d e�ZG d
d� de�Z
G dd
� d
e
�ZG dd� de
�ZG dd� d�ZdS )� Nc @ s8 e Zd ZdZdZdZdZdZdZdZ dd� Z
dd � ZdS )
�
_criu_commz/
Base class for communication classes.
r � � Nc C s dS )z�
Connect to criu and return socket object.
daemon -- is for whether or not criu should daemonize if executing criu from binary(comm_bin).
N� ��self�daemonr r �//usr/lib/python3.9/site-packages/pycriu/criu.py�connect s z_criu_comm.connectc C s dS )z'
Disconnect from criu.
Nr �r r r r �
disconnect s z_criu_comm.disconnect)�__name__�
__module__�__qualname__�__doc__�COMM_SK�COMM_FD�COMM_BIN� comm_type�comm�skr
r r r r r r s r c @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �
_criu_comm_skz.
Communication class for unix socket.
c C s | j | _|| _d S �N)r r r )r Zsk_pathr r r �__init__* s z_criu_comm_sk.__init__c C s&