[Gossip-dev] Remove some functions from GossipProtocol that can't be implemented in TELEPATHY

Mikael Hallendal micke at imendio.com
Sat Dec 23 16:14:25 CET 2006


23 dec 2006 kl. 16.09 skrev Xavier Claessens:

Hi,

Maybe it's time to look at whether it would be better to do something  
special for Telepathy backend rather than to redefine GossipProtocol  
to match a "protocol" backend that supports several protocols? :)

Telepathy backend is the special case here.

// Micke

> * _get_default_server is used to extract the server from an ID and  
> take
> care of special cases: user at gmail.com has talk.google.com server, this
> kind of conversion can't be done in the telepathy protocol since  
> this is
> a generic protocol for more than one real protocol. GossipTelepathy is
> used for either msn, jabber, etc. The only place we have real protocol
> depend code is in the UI (gossip-account-widget-*.c). I think the
> gmail.com -> talk.google.com conversion is only useful in the jabber
> settings widget. This conversion is something needed in gossip-tp and
> the only way is to put it in the UI, or someone has suggestions ?
>
> * _get_default_port is also something users really need. It returns  
> the
> port depending on SSL. I think we only need that for the jabber  
> settings
> widget and it depends on the protocol. It can't be done in the  
> telepathy
> protocol (AFAIK) because the telepathy protocol doesn't know if it's a
> jabber or msn or whatever the real protocol is.
>
> I really want to fix those 2 points, for others it's not very  
> important.
>
> For get_example_* maybe it make sense to have something in the  
> telepathy
> spec to get an example for each parameter.
>
> Xavier.
> _______________________________________________
> Gossip-dev mailing list
> Gossip-dev at lists.imendio.com
> http://lists.imendio.com/mailman/listinfo/gossip-dev


--
Imendio AB, http://www.imendio.com




More information about the Gossip-dev mailing list