class documentation

class FakeDatagramTransport: (source)

Implements interfaces: twisted.internet.interfaces.IUDPTransport

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method write Write packet to given address.
Class Variable noAddr Undocumented
Instance Variable written Undocumented
def __init__(self): (source)

Undocumented

def write(self, packet, addr=noAddr): (source)

Write packet to given address.

Parameters
packetUndocumented
addra tuple of (ip, port). For connected transports must be the address the transport is connected to, or None. In non-connected mode this is mandatory.
Raises
twisted.internet.error.MessageLengthErrorpacket was too long.

Undocumented

Undocumented