Class t.i.p.ConnectedDatagramProtocol(DatagramProtocol):

Part of twisted.internet.protocol View Source View In Hierarchy

Protocol for connected datagram-oriented transport.

No longer necessary for UDP.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
589 Method datagramReceived Called when a datagram is received.
595 Method connectionFailed Called if connecting failed.

Inherited from DatagramProtocol:

Line # Kind Name Docs
575 Method connectionRefused Called due to error from write in connected mode.

Inherited from AbstractDatagramProtocol (via DatagramProtocol):

Line # Kind Name Docs
506 Method __getstate__ Undocumented
511 Method doStart Make sure startProtocol is called.
522 Method doStop Make sure stopProtocol is called.
535 Method startProtocol Called when a transport is connected to this protocol.
541 Method stopProtocol Called when the transport is disconnected.
547 Method makeConnection Make a connection to a transport and a server.
Line # Kind Name Docs
506 Method __getstate__ Undocumented
595 Method connectionFailed Called if connecting failed.
575 Method connectionRefused Called due to error from write in connected mode.
589 Method datagramReceived Called when a datagram is received.
511 Method doStart Make sure startProtocol is called.
522 Method doStop Make sure stopProtocol is called.
547 Method makeConnection Make a connection to a transport and a server.
535 Method startProtocol Called when a transport is connected to this protocol.
541 Method stopProtocol Called when the transport is disconnected.
def datagramReceived(self, datagram): (source)
Called when a datagram is received.
Parametersdatagramthe string received from the transport.
def connectionFailed(self, failure): (source)

Called if connecting failed.

Usually this will be due to a DNS lookup failure.
API Documentation for Twisted, generated by pydoctor at 2008-10-26 16:12:37.