Hi,

Looking at the code in trunk [1] I can see that
t.internet.protocol.Protocol will update the 'connected' attribute
upon makeConnection but will not update it on connectionLost

Is this the intended design?
Is this design documented somewhere ?

I have check the narrative docs [2] and api-docs[3] but this attribute
is not documented.

What is the purpose of t.internet.protocol.Protocol.connected ?

Thanks!

[1] 
https://github.com/twisted/twisted/blob/trunk/twisted/internet/protocol.py#L471
[2] http://twistedmatrix.com/documents/current/core/howto/servers.html#protocols
[3]
-- 
Adi Roiban

_______________________________________________
Twisted-Python mailing list
Twisted-Python@twistedmatrix.com
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python

Reply via email to