[Telepathy] Reusing Connection objects
robert.mcqueen at collabora.co.uk
Thu Jun 8 06:04:17 PDT 2006
Andre Magalhaes wrote:
> But what i mean is. If a user calls Connection.Disconnect and then
> wants to reuse this connection by just changing some connection
> params. Is this possible? I don't think so. I would need to request a
> new Connection to do it.
It's not, but that's kind of intentional, to avoid the complexity that
would ensue. I certainly don't want connections to be able to change the
parameters mid-flow (what does it mean to change the password after
you've already connected?), and changing the account name when you
re-connected an account would also require changing the bus name/object
path. It seems like it could be quite complex to implement. What's the
benefit of allowing people to do this versus just creating a new connection?
More information about the Telepathy