Daniel Felsing wrote: > Hmmm... > > Look at osgi CMPN 111.8.1 > > Special care must be taken with the initial subscription to events. > According > to the UPnP specification, when a client subscribes for notification of > events > for the first time, the device sends out a number of events for each state > variable, > indicating the current value of each state variable. This behavior > simplifies > the synchronization of a device and an event-driven client. > The UPnP Base Driver must mimic this event distribution on behalf of > external > devices. It must therefore remember the values of the state variables of > external devices. A UPnP Device implementation must send out these initial > events for each state variable they have a value for. > The UPnP Base Driver must have stored the last event from the device and > retransmit the value over the multicast network. The UPnP Driver must > register > an event listener without any filter for this purpose. > > > --> It must therefore remember the values of the state variables of > external devices. <--
As far as I know we do that. > > > here lies what i mean. There must be something wrong with the remembering > functionality. > I restart my upnp event listener (on the server) and it should not get every > single event sent again over the network, but the base driver should > remember it. No when you restart the upnp event listener the UPnPDevice service created and registered by the UPnP Base Driver (to import the UPnP Device from the UPnP Network into the OSGi platform) should recognized the UPnPEventListener and start to send to it the given information. So, if you deregister and register a new UPnPEventListener it will receieve again the initial value. This does not mean, as far as I know (you may double check by sniffing network packet), that the UPnP Base Driver request the data through the UPnP network. On the contrary, the UPnPDevice service registered by the UPnP Base Driver has cached the value since the registration of the UPnPEventListener > It it is not remembering and starting for every listener an extra network > connection, it will cause a lot of traffic. > > But if it's the case that the basedriver IS remembering (i mean felix one) > then something other must be faulty, cause everytime i restart the upnp > tester an other > Status is missing. Please look at the comment above > > > I really dunnow what to do now.. > > Kind regards, > Daniel :-) > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

