Home | Trees | Index | Help |
|
---|
Package twisted :: Package protocols :: Module dns :: Class DNSDatagramProtocol |
|
AbstractDatagramProtocol
--+ |DatagramProtocol
--+ | DNSDatagramProtocol
Method Summary | |
---|---|
__init__(self,
controller)
| |
__getstate__(self)
| |
_clearFailed(self,
deferred,
id)
| |
datagramReceived(self,
data,
addr)
| |
pickID(self)
| |
Deferred
|
Send out a message with the given queries. |
Called when the transport is disconnected. | |
writeMessage(self,
message,
address)
| |
Inherited from AbstractDatagramProtocol | |
Make sure startProtocol is called. | |
Make sure stopProtocol is called. | |
Make a connection to a transport and a server. | |
Called when a transport is connected to this protocol. |
Class Variable Summary | |
---|---|
NoneType |
id = None |
NoneType |
liveMessages = None |
int |
reissue = 2 |
NoneType |
resends = None |
int |
timeout = 10 |
Inherited from AbstractDatagramProtocol | |
str |
noisy = 'sure, why not'
|
int |
numPorts = 0 |
NoneType |
transport = None |
Method Details |
---|
query(self, address, queries, timeout=10, id=None)Send out a message with the given queries.
|
stopProtocol(self)Called when the transport is disconnected. Will only be called once, after all ports are disconnected.
|
Class Variable Details |
---|
id
|
liveMessages
|
reissue
|
resends
|
timeout
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Sat Sep 13 04:20:47 2003 | http://epydoc.sf.net |