Go to the latest version of this document.

# ``twisted`.`protocols`.`portforward`.`_MakeTypesHappy``

interface documentation

`class _MakeTypesHappy(IPushProducer, IConsumer, ITransport): (source)`

View In Hierarchy

`ProxyServer`'s transport is implicitly assumed to provide several interfaces so include them all here.

Inherited from `IPushProducer`:

Method | `pauseProducing` | Pause producing data.
Method | `resumeProducing` | Resume producing data.

Inherited from `IProducer` (via `IPushProducer`):

Method | `stopProducing` | Stop producing data.

Inherited from `IConsumer` (via `IPushProducer`, `IProducer`):

Method | `registerProducer` | Register to receive data from a producer.
Method | `unregisterProducer` | Stop consuming data from a producer, without disconnecting.
Method | `write` | The producer will write data by calling this method.

Inherited from `ITransport` (via `IPushProducer`, `IProducer`, `IConsumer`):

Method | `getHost` | Similar to getPeer, but returns an address describing this side of the connection.
Method | `getPeer` | Get the remote address of this connection.
Method | `loseConnection` | Close my connection, after writing all pending data.
Method | `writeSequence` | Write an iterable of byte strings to the physical connection.