[Twisted-Python] Implementing a new stream transport
Laurens Van Houtven
_ at lvh.cc
Mon Apr 8 15:47:36 EDT 2013
On Apr 8, 2013 9:44 PM, "Phil Budne" <phil at ultimate.com> wrote:
> As a quick crock, I made my transport a subclass of
> twisted.internet.tcp.Server, and got away with it, but I'd like to do
> the right thing.
> I'd be delighted to find out that mixins exist that would solve my
> problem, but I'd be happy to know what interfaces I need to implement,
> or even better where I find find documentation on how to implement a
> new "transport", especially one that isn't file-descriptor based.
Are you familiar with interfaces? ITransport sounds like what you want.
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Twisted-Python