| Home | Trees | Index | Help |
|
|---|
| Package twisted :: Package internet :: Module protocol :: Class ConnectedDatagramProtocol |
|
AbstractDatagramProtocol--+ |DatagramProtocol--+ | ConnectedDatagramProtocol
Protocol for connected datagram-oriented transport.
No longer necessary for UDP.| Method Summary | |
|---|---|
Called if connecting failed. | |
Called when a datagram is received. | |
| Inherited from DatagramProtocol | |
Called due to error from write in connected mode. | |
| 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. | |
Called when the transport is disconnected. | |
| Class Variable Summary | |
|---|---|
| Inherited from AbstractDatagramProtocol | |
int |
noisy = 1 |
int |
numPorts = 0 |
NoneType |
transport = None |
| Method Details |
|---|
connectionFailed(self, failure)Called if connecting failed. Usually this will be due to a DNS lookup failure. |
datagramReceived(self, datagram)Called when a datagram is received.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat May 15 20:08:05 2004 | http://epydoc.sf.net |