[Gossip-dev] Re: [Telepathy] GossipProtocol problems
Xavier Claessens
xclaesse at gmail.com
Sun Oct 15 13:47:28 CEST 2006
Le dimanche 15 octobre 2006 à 12:27 +0200, Mikael Hallendal a écrit :
> >>> 4) _is_valid_username, _get_example_username, _get_default_server and
> >>> _get_default_port: doesn't seems to have an equivalent in telepathy...
> >>> maybe it should be added to the specification ?
> >> The default for anything that has a sensible default can be found in
> >> ConnectionManager.GetParameters(). Sample values are mentioned in your
> >> previous mail to the Telepathy list and the replies to it, but I'll repeat
> >> for the benefit of other Gossip people: we don't have that functionality,
> >> but perhaps we should.
> >>
> >> Validating parameters as best we can before actually attempting
> >> registration would perhaps be a nice thing to add too. (I assume you're
> >> looking for "live" validation as the user types in parameters?)
> >
> > Yeah would be nice to add a method which gets in argument a dictionary
> > with all parameters/values and checks if values are correct, then return
> > a dictionary with incorrect parameters/default-value (or
> > corrected-value ?)
>
> As for some of the validation, I don't see a huge problem of having it
> in Gossip. Gossip will know what backends it supports anyway and having
> implementing some of these (preferably not default server/port) would be
> okay to do within the Gossip code.
We can make it in gossip but I think it make more sense in telepathy.
Xavier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.imendio.com/pipermail/gossip-dev/attachments/20061015/e2caa30e/attachment.pgp
More information about the Gossip-dev
mailing list