[Telepathy] Review of MissionControl spec

Simon McVittie simon.mcvittie at collabora.co.uk
Wed Jan 23 05:21:44 PST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 22 Jan 2008 at 23:33:47 +0100, Xavier Claessens wrote:
> On mar, 2008-01-22 at 19:00 +0000, Simon McVittie wrote:
> > What do you mean by "incoming"/"outgoing" and is it the same thing Mardy
> > means?
> 
> I think we have the same definition:
> Incoming = A contact send us a new message so MC creates a channel.
> Outgoing = We send a message so we request a new channel.
> 
> incoming are catched by MC by listening to
> connection.NewChannel(supress_handle=false) and outgoing are channels
> created by MC if the client calls mc.RequestChannel() which will call
> connection.RequestChannel(supress_handler=true).

I would argue that if a client calls RequestChannel on the CM directly, that's
also an outgoing channel. Does this mean we should ignore the
suppress_handler parameter to RequestChannel, treat it as if it was
always TRUE, and rename the suppress_handler argument of NewChannel to
"outgoing" or "we_started_it" or something? I think it might.

    Simon
-----BEGIN PGP SIGNATURE-----

iD8DBQFHlz9oWSc8zVUw7HYRAmO2AJ4qswoeM1UVeVYDUBRSS2qhhdAlvgCfbYvP
vuERG8u/SHN3LWTXZnA+3GU=
=dynj
-----END PGP SIGNATURE-----


More information about the Telepathy mailing list