관리-도구
편집 파일: SRV.pyo
� !`Nc @ sP d d l Z d d l Z d d l Z d d l Z d e j j f d � � YZ d S( i����Nt SRVc B s� e Z d Z d d d d g Z d � Z d e d � Z d e d � Z e e � Z d d d � Z d d � Z e e � Z d e d � Z d � Z RS( s SRV record @ivar priority: the priority @type priority: int @ivar weight: the weight @type weight: int @ivar port: the port of the service @type port: int @ivar target: the target host @type target: dns.name.Name object @see: RFC 2782t priorityt weightt portt targetc C sA t t | � j | | � | | _ | | _ | | _ | | _ d S( N( t superR t __init__R R R R ( t selft rdclasst rdtypeR R R R ( ( s8 /usr/lib64/python2.7/site-packages/dns/rdtypes/IN/SRV.pyR % s c K s2 | j j | | � } d | j | j | j | f S( Ns %d %d %d %s( R t choose_relativityR R R ( R t origint relativizet kwR ( ( s8 /usr/lib64/python2.7/site-packages/dns/rdtypes/IN/SRV.pyt to_text, s c C sh | j � } | j � } | j � } | j d � } | j | | � } | j � | | | | | | | � S( N( t get_uint16t get_namet NoneR t get_eol( t clsR R t tokR R R R R R ( ( s8 /usr/lib64/python2.7/site-packages/dns/rdtypes/IN/SRV.pyt from_text1 s c C sH t j d | j | j | j � } | j | � | j j | | | � d S( Ns !HHH( t structt packR R R t writeR t to_wire( R t filet compressR t three_ints( ( s8 /usr/lib64/python2.7/site-packages/dns/rdtypes/IN/SRV.pyR <