[Bug 28974] Being able to observe connections

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 23 12:45:04 CEST 2010


https://bugs.freedesktop.org/show_bug.cgi?id=28974

--- Comment #4 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-09-23 03:45:04 PDT ---
This is a good idea in principle but its semantics need some very careful
thought.

Most Connection properties are "mutable until CONNECTED", so we can't use
filters based on immutable properties.

Most clients only care about CONNECTED connections. Let's call that
ConnectionMonitor.

Later, we could have a PreConnectionMonitor that gets unconnected connections,
and gets to delay Connect().

Later still, we could have a ConnectionApprover that gets invoked before
RequestConnection is called, and can manipulate the Parameters or reject the
request with an error. I'm inclined to say YAGNI, though: for the few cases
where this would be useful, libmission-control-plugins would probably be more
appropriate.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.



More information about the telepathy-bugs mailing list