Re: help on handle... methods

Catonano <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
Werner, wwwjfy,

2010/2/11 wwwjfy <[email protected]>


> I don't think there is a perfect way to find where methods like these are
> called, unless the IDE is clever enough.
> Sometimes I suffered from it.
> Maybe it the cost of the flexible. ;)
>
>
thanks to the both of you. I managed to install Eclipse, seems getting
better, actually.

Now, my question moved. I see the BaseProtocol class having the
"makeConnection" method.

Now, is the reactor supposed to call this method ? Is it supposed to pass a
ITransport argument, too ?

Well are these conventions ? Or does the reactor uses some sort of
reflection or other aid to "guess" which method to call and which argument
to pass ?

Same goes for the "dataReceived" method that makes its first appareance in
the Protocol class. Is the reactor supposed to call this method and pass the
data as an argument ?

Am I being annoying ? Sorry, I'm just trying to understand.

Thanks
Catonano

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.