[Bug 29973] TpClientChannelFactory interface and TpDefaultChannelFactory
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Thu Oct 7 11:55:40 CEST 2010
https://bugs.freedesktop.org/show_bug.cgi?id=29973
Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |patch
--- Comment #15 from Guillaume Desmottes <guillaume.desmottes at collabora.co.uk> 2010-10-07 02:55:40 PDT ---
(In reply to comment #14)
> (In reply to comment #11)
> > Ok, so my remaning questions at this stage are:
> >
> > Should I go for B ( tp_client_channel_factory_prepare_channel_async) or D (
> > tp_client_channel_factory_get_desired_features ()).
>
> Re-reading this bug, I think my intention with (D) was probably that users of
> the factory (TpBaseClient, etc.) would asynchronously prepare the indicated
> features before telling anyone about the channel. Sorry if that wasn't clear.
>
> (B) is slightly more API, and makes TpBaseClient's current feature handling
> entirely redundant (TpBaseClient would end up having to do two async calls per
> object, one on the factory and one on the object, until we break API) but it's
> more flexible if we want the possibility of doing async actions that aren't
> actually preparing features.
>
> You don't necessarily need to implement either of those to have a useful
> object, I don't think...
Indeed. Let's do that once we'll have a TpChannel sub-class introducing new
features.
> > Are we happy with TpBasicChannelFactory and TpAutomaticChannelFactory as names?
> > Should we rename TpBasicChannelFactory to TpBasicObjectFactory?
>
> I'd be happy with TpBasicProxyFactory, and either TpAutomaticChannelFactory or
> TpAutomaticProxyFactory depending which direction you think you'll go with it.
Atm I have TpBasicProxyFactory and TpAutomaticChannelFactory.
I guess it makes sense (if only to be symetric) to rename it to
TpAutomaticProxyFactory ?
> > Should TpBaseClient default to TpBasicChannelFactory or
> > TpAutomaticChannelFactory ?
>
> TpAutomaticChannelFactory, I think.
done.
I think this branch is ready for review, we just have to decide of the name of
the automatic factory.
http://git.Collabora.co.uk/?p=user/cassidy/telepathy-glib;a=shortlog;h=refs/heads/channel-factory-29973
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the telepathy-bugs
mailing list