[gupnp] Multinet status
- From: "Zeeshan Ali (Khattak)" <zeenix gmail com>
- To: gupnp o-hand com
- Cc: rygel-list gnome org
- Subject: [gupnp] Multinet status
- Date: Thu, 9 Jul 2009 13:59:37 +0300
Hi,
So now that my multinet branches are merged, I ported Rygel to make
use of the new cool multinet/dynamic network APIs. Except that some
plugins have problems with multiple instances of them running at the
same time (something hopefully fixable) everything works but seems I
had overlooked one thing: The GSSDPResourceGroup announces it's
unavailability of all resources on dispose, which in case of network
interface going down is not the correct thing to do and causes
annoying warnings on the console.
The simplest solution that comes to mind is to add a boolean prop
"available" (or "active", "online"?) to GSSDPClient (ancestor of
GUPnPContext), which should be enabled by default and unsetting this
prop would mean that client's does NOP on network sending. The new
GUPnPContextManager should then unset this prop whenever a context
goes unavailable.
Just though I ask for advice before supplying patches.
--
Regards,
Zeeshan Ali (Khattak)
FSF member#5124
--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]