File: //proc/3/root/usr/lib/python2.4/site-packages/dns/rdtypes/IN/SRV.pyc
mň
!`Nc @ sD d k Z d k Z d k Z d k Z d e i i f d YZ d S( Nt SRVc B s t Z d Z d d d d g Z d Z e e d Z e e d Z e e Z e e d Z
e d Z e e Z e 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 | i | | | | _ | | _ | | _ | | _ d S( N(
t superR t selft __init__t rdclasst rdtypeR R R R ( R R R R R R R ( ( t6 /usr/lib/python2.4/site-packages/dns/rdtypes/IN/SRV.pyR % s
c K s2 | i i | | } d | i | i | i | f S( Ns %d %d %d %s( R R t choose_relativityt origint
relativizeR R R ( R R R
t kwR ( ( R
t to_text, s c
C sh | i } | i } | i } | i d } | i | | } | i | | | | | | | S( N( t tokt
get_uint16R R R t get_namet NoneR R R R
t get_eolt clsR R (
R R R R R R
R R R R ( ( R
t from_text1 s
c C sH t i d | i | i | i } | i | | i i
| | | d S( Ns !HHH(
t structt packR R R R t
three_intst filet writeR t to_wiret compressR ( R R R R R ( ( R
R <