Re: [Twisted-Python] Implementing a new stream transport

2013-04-08 Thread Phil Budne
Laurens Van Houtven wrote: > Are you familiar with interfaces? ITransport sounds like what you want. Yes, and I implemented the ITransport methods. The first bump was that I was missing registerProducer and unregisterProducer, which are defined as part of IConsumer. But after that I had another

[Twisted-Python] Implementing a new stream transport

2013-04-08 Thread Phil Budne
I looked for, but haven't (yet) found any documentation on how to implement a Twisted "transport" For some testing and prototype work I'm doing I implemented the proprietary TCP connection multiplexing protocol a customer of mine uses as a Twisted Protocol and a transport for the "channels" that a