HEX
Server: Apache
System: Linux server2.voipitup.com.au 4.18.0-553.104.1.lve.el8.x86_64 #1 SMP Tue Feb 10 20:07:30 UTC 2026 x86_64
User: posscale (1027)
PHP: 8.2.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python3.6/site-packages/zmq/sugar/__pycache__/frame.cpython-36.opt-1.pyc
3

VS�_��@sNdZddlmZddlmZddlZdd�ZGdd	�d	ee�ZeZd	d
gZ	dS)z0MQ Frame pure Python methods.�)�AttributeSetter�)�FrameNcCs$tjj||�tjs td|��dS)Nz8libzmq and pyzmq must be built with draft support for %s)�zmq�errorZ_check_versionZ	DRAFT_API�RuntimeError)�vZfeature�r	�/usr/lib64/python3.6/frame.py�_draftsrc@sLeZdZdZdd�Zedd��Zejdd��Zedd��Zejd	d��Zd
S)ra�Frame(data=None, track=False, copy=None, copy_threshold=zmq.COPY_THRESHOLD)

    A zmq message Frame class for non-copy send/recvs.

    This class is only needed if you want to do non-copying send and recvs.
    When you pass a string to this class, like ``Frame(s)``, the 
    ref-count of `s` is increased by two: once because the Frame saves `s` as 
    an instance attribute and another because a ZMQ message is created that
    points to the buffer of `s`. This second ref-count increase makes sure
    that `s` lives until all messages that use it have been sent. Once 0MQ
    sends all the messages and it doesn't need the buffer of s, 0MQ will call
    ``Py_DECREF(s)``.

    Parameters
    ----------

    data : object, optional
        any object that provides the buffer interface will be used to
        construct the 0MQ message data.
    track : bool [default: False]
        whether a MessageTracker_ should be created to track this object.
        Tracking a message has a cost at creation, because it creates a threadsafe
        Event object.
    copy : bool [default: use copy_threshold]
        Whether to create a copy of the data to pass to libzmq
        or share the memory with libzmq.
        If unspecified, copy_threshold is used.
    copy_threshold: int [default: zmq.COPY_THRESHOLD]
        If copy is unspecified, messages smaller than this many bytes
        will be copied and messages larger than this will be shared with libzmq.
    cCs
|j|�S)N)�get)�self�keyr	r	r
�__getitem__1szFrame.__getitem__cCstdd�|jd�S)z�The RADIO-DISH group of the message.

        Requires libzmq >= 4.2 and pyzmq built with draft APIs enabled.

        .. versionadded:: 17
        ��z
RADIO-DISH�group)rr)rr)r
r	r	r
r5s
zFrame.groupcCstdd�|jd|�dS)Nrrz
RADIO-DISHr)rr)r�set)r
rr	r	r
r@s
cCstdd�|jd�S)z�The CLIENT-SERVER routing id of the message.

        Requires libzmq >= 4.2 and pyzmq built with draft APIs enabled.

        .. versionadded:: 17
        rrz
CLIENT-SERVER�
routing_id)rr)rr)r
r	r	r
rEs
zFrame.routing_idcCstdd�|jd|�dS)Nrrz
CLIENT-SERVERr)rr)rr)r
rr	r	r
rPs
N)	�__name__�
__module__�__qualname__�__doc__r�propertyr�setterrr	r	r	r
rsr�Message)
rZ	attrsettrrZzmq.backendrZ	FrameBaserrr�__all__r	r	r	r
�<module>sG