ó
    0/¡jÖ
  ã                   ór  • S r SSKJr  SSKrSSKr " S S\R                  R                  5      r " S S\R                  R                  5      rS\S	\4S
 jrS\S	\4S jrS\S	\4S jrS\S	\4S jrS\S	\4S jr\R(                  r\R*                  r\R,                  r\R.                  r\R0                  rg)zDNS Opcodes.é    )ÚTypeNc                   óV   • \ rS rSrSrSrSrSrSr\	S 5       r
\	S\\   4S	 j5       rS
rg)ÚOpcodeé   r   é   é   é   é   c                 ó   • g)Né   © ©Úclss    Úc/var/www/html/health-monitoring.indevconsultancy.in/venv/lib/python3.13/site-packages/dns/opcode.pyÚ_maximumÚOpcode._maximum&   s   € àó    Úreturnc                 ó   • [         $ )N)ÚUnknownOpcoder   s    r   Ú_unknown_exception_classÚOpcode._unknown_exception_class*   s   € äÐr   r   N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚQUERYÚIQUERYÚSTATUSÚNOTIFYÚUPDATEÚclassmethodr   r   Ú	Exceptionr   Ú__static_attributes__r   r   r   r   r      sL   † à€Eà€Fà€Fà€Fà€Fàñó ðð ð¨¨i©ó ó ór   r   c                   ó   • \ rS rSrSrSrg)r   é/   zAn DNS opcode is unknown.r   N)r   r   r   r   Ú__doc__r$   r   r   r   r   r   /   s   † Ü#r   r   Útextr   c                 ó,   • [         R                  U 5      $ )z˜Convert text into an opcode.

*text*, a ``str``, the textual opcode

Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown.

Returns an ``int``.
)r   Ú	from_text)r(   s    r   r*   r*   3   s   € ô ×Ñ˜DÓ!Ð!r   Úflagsc                 ó$   • [        U S-  S-	  5      $ )zdExtract an opcode from DNS message flags.

*flags*, an ``int``, the DNS flags.

Returns an ``int``.
é x  é   )r   ©r+   s    r   Ú
from_flagsr0   @   s   € ô �5˜6‘> bÑ(Ó)Ð)r   Úvaluec                 ó   • U S-  S-  $ )z‰Convert an opcode to a value suitable for ORing into DNS message
flags.

*value*, an ``int``, the DNS opcode value.

Returns an ``int``.
r.   r-   r   ©r1   s    r   Úto_flagsr4   K   s   € ð �R‰K˜6Ñ!Ð!r   c                 ó,   • [         R                  U 5      $ )z•Convert an opcode to text.

*value*, an ``int`` the opcode value,

Raises ``dns.opcode.UnknownOpcode`` if the opcode is unknown.

Returns a ``str``.
)r   Úto_textr3   s    r   r6   r6   W   s   € ô �>‰>˜%Ó Ð r   c                 ó:   • [        U 5      [        R                  :H  $ )zaIs the opcode in flags UPDATE?

*flags*, an ``int``, the DNS message flags.

Returns a ``bool``.
)r0   r   r!   r/   s    r   Ú	is_updater8   d   s   € ô �eÓ¤§¡Ñ-Ð-r   )r'   Útypingr   Údns.enumÚdnsÚdns.exceptionÚenumÚIntEnumr   Ú	exceptionÚDNSExceptionr   Ústrr*   Úintr0   r4   r6   Úboolr8   r   r   r   r    r!   r   r   r   Ú<module>rD      sÍ   ðñ$ å ã Û ôˆS�X‰X×Ñô ô*$�C—M‘M×.Ñ.ô $ð
"�Cð 
"˜Fô 
"ð*�cð *˜fô *ð	"�Fð 	"˜sô 	"ð
!�6ð 
!˜cô 
!ð.�Sð .˜Tô .ð 	�‰€Ø	�‰€Ø	�‰€Ø	�‰€Ø	�‰�r   