Package twisted :: Package internet :: Module protocol :: Class ConnectedDatagramProtocol
[show private | hide private]
[frames | no frames]

Class ConnectedDatagramProtocol

AbstractDatagramProtocol --+    
                           |    
            DatagramProtocol --+
                               |
                              ConnectedDatagramProtocol


Protocol for connected datagram-oriented transport, e.g. UDP.
Method Summary
  connectionFailed(self, failure)
Called if connecting failed.
  connectionRefused(self)
Called for connection refused error.
  datagramReceived(self, datagram)
Called when a datagram is received.

Method Details

connectionFailed(self, failure)

Called if connecting failed.

Usually this will be due to a DNS lookup failure.

connectionRefused(self)

Called for connection refused error.

Note this is a result of ICMP message generated by *previous* write.

datagramReceived(self, datagram)

Called when a datagram is received.
Parameters:
datagram - the string received from the transport.

Generated by Epydoc 1.1 on Fri Jun 27 03:45:32 2003 http://epydoc.sf.net