class documentation

class DummyChannel: (source)

View In Hierarchy

A dummy HTTP channel, that does nothing but holds a transport and saves connection lost.

Method __init__ Hold a reference to the transport.
Method connectionLost Keep track of the connection lost reason.
Method getHost Get host information from the transport.
Method getPeer Get peer information from the transport.
Instance Variable lostReason the reason saved at connection lost.
Instance Variable transport the transport used by the client.
def __init__(self, transport): (source)

Hold a reference to the transport.

def connectionLost(self, reason): (source)

Keep track of the connection lost reason.

def getHost(self): (source)

Get host information from the transport.

def getPeer(self): (source)

Get peer information from the transport.

lostReason = (source)

the reason saved at connection lost.

transport = (source)

the transport used by the client.