Home | Trees | Index | Help |
|
---|
Package DNS :: Package rdtypes :: Package IN :: Module SRV :: Class SRV |
|
object
--+ |Rdata
--+ | SRV
See also: RFC 2782
Method Summary | |
---|---|
__init__(self,
rdclass,
rdtype,
priority,
weight,
port,
target)
| |
__cmp__(self,
other)
| |
a new object with type S, a subtype of T |
|
__repr__(self)
(inherited from Rdata )
| |
__str__(self)
(inherited from Rdata )
| |
int |
DNS SIG rdatas apply to specific type; this type is returned by the covers() function. (inherited from Rdata )
|
int |
Return a 32-bit type value, the least significant 16 bits of which are the ordinary DNS type, and the upper 16 bits of which are the "covered" type, if any. (inherited from Rdata )
|
string |
Convert an rdata to text format. |
string |
Convert an rdata to wire format. |
Instance Variable Summary | |
---|---|
int | port
- the port of the service |
int | priority
- the priority |
DNS.name.Name object | target
- the target host |
int | weight
- the weight |
Class Variable Summary | |
---|---|
classmethod |
from_text
|
classmethod |
from_wire
|
Method Details |
---|
__new__(S, ...)
|
to_text(self, origin=None, relativize=True, **kw)Convert an rdata to text format.
|
to_wire(self, file, compress=None, origin=None)Convert an rdata to wire format.
|
Instance Variable Details |
---|
portthe port of the service
|
prioritythe priority
|
targetthe target host
|
weightthe weight
|
Class Variable Details |
---|
from_text
|
from_wire
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 1.1 on Tue Jun 17 03:55:15 2003 | http://epydoc.sf.net |