[Telepathy] Questions regarding the Telepathy spec

Robert McQueen robert.mcqueen at collabora.co.uk
Thu Jul 13 13:04:09 PDT 2006


Mads Chr. Olesen wrote:
> Hello there!

Hi,

> I have a couple of questions regarding the Telepathy specification:
>  - Under ConnectionManager the ListProtocols() method is said to return
> "an dictionary mapping parameter identifiers to type signatures". This
> sounds a lot more like what the method above (GetParameters) does. Also
> the potential errors again looks like it doesn't fit.

Good catch, that's just a copy/paste error. Fixed it in -spec.

>  - Under Connection, method GetProtocol(), Disconnected is listed as an
> potential error, but the only way to create a new Connection is by
> specifying a protocol identifier?

You provide the protocol to the RequestConnection method, GetProtocol is
just to tell you what protocol a connection is on. Given that the
protocol can't change, it shouldn't be able to return Disconnected, it's
constant whether we're CONNECTING or CONNECTED. Fixed in -spec-stable
and -spec.

> In addition I have attached a patch, with some trivial clarifications.

Applied to -spec-stable and -spec.

Regards,
Rob


More information about the Telepathy mailing list