I would say the latter is correct since it is the javadoc description for 
the method. 

But we need Peter to weigh in as he likely wrote the text in 111.8.
-- 

BJ Hargrave
Senior Technical Staff Member, IBM
OSGi Fellow and CTO of the OSGi Alliance
[EMAIL PROTECTED]

office: +1 386 848 1781
mobile: +1 386 848 3788




From:
Stefano Lenzi <[EMAIL PROTECTED]>
To:
osgi-dev <[email protected]>
Cc:
[EMAIL PROTECTED]
Date:
2008-01-03 16:07
Subject:
[osgi-dev] UPnP Device Service Specification: errata?



Hi All,

I was developing the Apache Felix UPnP Base Driver which implements the 
"UPnP Device Service Specification" described in OSGi R4 (4.0.0, 4.0.1, 
and 4.1.0) Compendium chapter 111, but I have discovered some discording 
information between the Section 111.8 and the Section 111.17.4.2 about 
the UPnPEventListener interface.

In fact the last two section of the Section 111.8 the specification 
states:

"One or multiple events are passed as parameters to the 
notifyUPnPEvent(String,String,Dictionary) method. The Dictionary object 
holds a pair of UpnPStateVariable objects that triggered the event and 
an Object for the new value of the state variable."

so it seems that the Dictionary should conatin the pair 
<UPnPStateVariable, Object> while the last point of the Section 
111.17.4.2 states:

"Callback method that is invoked for received events. The events are 
collected in a Dictionary object. Each entry has a String key 
representing the event name (= state variable name) and the new value of 
the state variable. The class of the value object must match the class 
specified by the UPnP State Variable associated with the event. This 
method must be called asynchronously"

this time, it seems that the Dictionary should contain the pair <String, 
Object>.

So my question is:
*Which is the correct Section? Or am I not understanding the English?*

Ciao,
Stefano "Kismet" Lenzi

_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev


_______________________________________________
OSGi Developer Mail List
[email protected]
http://www2.osgi.org/mailman/listinfo/osgi-dev

Reply via email to