class documentation

class TransportProxyProducer: (source)

Constructor: TransportProxyProducer(producer)

Implements interfaces: twisted.internet.interfaces.IPushProducer

View In Hierarchy

An twisted.internet.interfaces.IPushProducer implementation which wraps another such thing and proxies calls to it until it is told to stop.

Method __init__ Undocumented
Method loseConnection Proxy the request to lose the connection to the underlying producer, unless this proxy has been stopped.
Method pauseProducing Proxy the pause to the underlying producer, unless this proxy has been stopped.
Method resumeProducing Proxy the resumption to the underlying producer, unless this proxy has been stopped.
Method stopProducing Proxy the stoppage to the underlying producer, unless this proxy has been stopped.
Method stopProxying Stop forwarding calls of twisted.internet.interfaces.IPushProducer methods to the underlying twisted.internet.interfaces.IPushProducer provider.
Class Variable disconnecting Undocumented
Instance Variable _producer The wrapped twisted.internet.interfaces.IPushProducer provider or None after this proxy has been stopped.
def __init__(self, producer): (source)

Undocumented

def loseConnection(self): (source)

Proxy the request to lose the connection to the underlying producer, unless this proxy has been stopped.

def pauseProducing(self): (source)

Proxy the pause to the underlying producer, unless this proxy has been stopped.

def resumeProducing(self): (source)

Proxy the resumption to the underlying producer, unless this proxy has been stopped.

def stopProducing(self): (source)

Proxy the stoppage to the underlying producer, unless this proxy has been stopped.

def stopProxying(self): (source)

Stop forwarding calls of twisted.internet.interfaces.IPushProducer methods to the underlying twisted.internet.interfaces.IPushProducer provider.

disconnecting: bool = (source)

Undocumented

_producer = (source)

The wrapped twisted.internet.interfaces.IPushProducer provider or None after this proxy has been stopped.