[Telepathy] tp_cli_connection_manager_run_request_connection(): What parameter types.
Murray Cumming
murrayc at murrayc.com
Fri Oct 31 03:25:25 PDT 2008
On Wed, 2008-10-29 at 15:04 +1100, Jiri Baum wrote:
> > > There'd also be nothing to stop a CM having the wrong type for a
> > > well-known parameter - we'd consider it to be buggy, but that's no
> > > reason to let it crash client code remotely.
>
> > I think you should check for that when initializing the connection
> > manager. Constraints are good.
>
> You can't really do that when initialising the connection manager,
> because the
> application doesn't do that - the MC does. The MC might consider a
> different
> set of parameters to be "well-known" than your application, so you
> couldn't
> rely on that check even if the MC did make it.
[snip]
The telepathy spec (and the telapathy-glib documentation) documents the
well-known parameters. So those are the ones that should be checked.
If the application has an idea of parameters that it considers well
known to it, well that's a different problem.
--
murrayc at murrayc.com
www.murrayc.com
www.openismus.com
More information about the Telepathy
mailing list