Re: [gupnp] general event notification

From: Jorn Baayen <jorn@openedhand.com>
Date: Thu Aug 02 2007 - 05:42:00 EDT

Hi,

On Wed, 2007-08-01 at 11:27 +0300, Zeeshan Ali wrote:
> Hey!
>
> On 8/1/07, Jorn Baayen <jorn@openedhand.com> wrote:
> > But what does is it give you? I don't see how knowing that "some state
> > variable changed" is useful,
>
> Only that it will simplify the code I pasted to you but as i
> admitted in my last email, I figured that it is only this generic CP
> (i doubt people would write a lot of generic CPs) that needs this. So
> just forget this feature request if you don't find the idea fancy. :)

The problem is that UPnP notifications do not specify the types of the
contained values. This means that this information must either come
from the application (i.e. it is familiar with the device type it is
controlling), or from introspection. But making proxy API
introspection-dependant is not a good idea, because introspection may
not be available.

Cheers,

Jorn

>
> >especially when querying for state variable
> > values is not possible .. (QueryStateVariable is deprecated)
>
> Sorry! but i never said that querying individual state variables is
> possible with UPnP itself.
>

--
To unsubscribe send a mail to gupnp+unsubscribe\@o-hand.com
Received on Thu, 02 Aug 2007 12:42:00 +0300

This archive was generated by hypermail 2.1.8 : Thu Aug 02 2007 - 06:00:06 EDT