Viewing File: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyc
ó
!`Nc @ sD d d l Z d d l Z d d l Z d e j j f d „ ƒ YZ d S( iÿÿÿÿNt ISDNc B s} e Z d Z 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 „ Z RS(
s» ISDN record
@ivar address: the ISDN address
@type address: string
@ivar subaddress: the ISDN subaddress (or '' if not present)
@type subaddress: string
@see: RFC 1183t addresst
subaddressc C s/ t t | ƒ j | | ƒ | | _ | | _ d S( N( t superR t __init__R R ( t selft rdclasst rdtypeR R ( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyR s c K sP | j r5 d t j j | j ƒ t j j | j ƒ f Sd t j j | j ƒ Sd S( Ns "%s" "%s"s "%s"( R t dnst rdatat _escapifyR ( R t origint
relativizet kw( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt to_text$ s c C sp | j ƒ } | j ƒ } | j ƒ s@ | j | ƒ | j ƒ } n | j | ƒ d } | j ƒ | | | | | ƒ S( Nt ( t
get_stringt gett
is_eol_or_eoft ungett get_eol( t clsR R t tokR R R t tR ( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt from_text+ s
c C s§ t | j ƒ } | d k s! t ‚ t | ƒ } | j | ƒ | j | j ƒ t | j ƒ } | d k r£ | d k sw t ‚ t | ƒ } | j | ƒ | j | j ƒ n d S( Ni i ( t lenR t AssertionErrort chrt writeR ( R t filet compressR t lt byte( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt to_wire9 s
c
C sè t | | ƒ } | d 7} | d 8} | | k r? t j j ‚ n | | | | !j ƒ } | | 7} | | 8} | d k rÏ t | | ƒ } | d 7} | d 8} | | k rµ t j j ‚ n | | | | !j ƒ } n d } | | | | | ƒ S( Ni i R ( t ordR t exceptiont FormErrort unwrap(
R R R t wiret currentt rdlenR R R R ( ( s: /usr/lib64/python2.7/site-packages/dns/rdtypes/ANY/ISDN.pyt from_wireF s"