Package twisted :: Package internet :: Module interfaces :: Class IReactorUDP
[show private | hide private]
[frames | no frames]

Class IReactorUDP

NonMetaInterface --+
                   |
                  IReactorUDP


UDP socket methods.

IMPORTANT: This is an experimental new interface. It may change without backwards compatability. Suggestions are welcome.
Method Summary
  connectUDP(self, remotehost, remoteport, protocol, localport, interface, maxPacketSize)
Connects a ConnectedDatagramProtocolinstance to a UDP port.
  listenUDP(self, port, protocol, interface, maxPacketSize)
Connects a given DatagramProtocol to the given numeric UDP port.

Method Details

connectUDP(self, remotehost, remoteport, protocol, localport=0, interface='', maxPacketSize=8192)

Connects a ConnectedDatagramProtocol instance to a UDP port.

listenUDP(self, port, protocol, interface='', maxPacketSize=8192)

Connects a given DatagramProtocol to the given numeric UDP port.
Returns:
object conforming to IListeningPort.

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