File: //usr/local/lib/python3.6/site-packages/bmemcached/client/__pycache__/mixin.cpython-36.pyc
3
�':f� � @ sD d dl Z d dlmZmZ d dlmZ d dlmZ G dd� de�Z dS )� N)�PICKLE_PROTOCOL�SOCKET_TIMEOUT)�pickle)�Protocolc @ s� e Zd ZdZd+dddeeejejdf dd�Z e
dd� �Zdd � Zd,dd�Z
d-d
d�Zdd� Zd.dd�Zdd� Zd/dd�Zd1dd�Zd3dd�Zd5dd�Zd7dd �Zd9d!d"�Zd:d#d$�Zd%d&� Zd'd(� Zd)d*� ZdS );�ClientMixina Client mixin with basic commands.
:param servers: A list of servers with ip[:port] or unix socket.
:type servers: list
:param username: If your server requires SASL authentication, provide the username.
:type username: six.string_types
:param password: If your server requires SASL authentication, provide the password.
:type password: six.string_types
:param compression: This memcached client uses zlib compression by default,
but you can change it to any Python module that provides
`compress` and `decompress` functions, such as `bz2`.
:type compression: Python module
:param socket_timeout: The timeout applied to memcached connections.
:type socket_timeout: float
:param pickle_protocol: The pickling protocol to use, 0-5. See
https://docs.python.org/3/library/pickle.html#data-stream-format
default is 0 (human-readable, original format).
:type pickle_protocol: int
:param pickler: Use this to replace the object serialization mechanism.
:type pickler: function
:param unpickler: Use this to replace the object deserialization mechanism.
:type unpickler: function
:param tls_context: A TLS context in order to connect to TLS enabled
memcached servers.
:type tls_context: ssl.SSLContext
�127.0.0.1:11211Nc
C s>