org.apache.felix.upnp.basedriver.export
Class ExporterUPnPEventListener

java.lang.Object
  extended by org.apache.felix.upnp.basedriver.export.ExporterUPnPEventListener
All Implemented Interfaces:
UPnPEventListener

public class ExporterUPnPEventListener
extends Object
implements UPnPEventListener


Field Summary
 
Fields inherited from interface org.osgi.service.upnp.UPnPEventListener
UPNP_FILTER
 
Constructor Summary
ExporterUPnPEventListener(org.cybergarage.upnp.Device d)
           
 
Method Summary
 void notifyUPnPEvent(String deviceId, String serviceId, Dictionary events)
          Callback method that is invoked for received events.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExporterUPnPEventListener

public ExporterUPnPEventListener(org.cybergarage.upnp.Device d)
Method Detail

notifyUPnPEvent

public void notifyUPnPEvent(String deviceId,
                            String serviceId,
                            Dictionary events)
Description copied from interface: UPnPEventListener
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

Specified by:
notifyUPnPEvent in interface UPnPEventListener
Parameters:
deviceId - ID of the device sending the events
serviceId - ID of the service sending the events
events - Dictionary object containing the new values for the state variables that have changed.
See Also:
UPnPEventListener.notifyUPnPEvent(java.lang.String, java.lang.String, java.util.Dictionary)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.