Klasse UPnPPresent

java.lang.Object
org.jupnp.osgi.present.UPnPPresent

public class UPnPPresent extends Object
111.2.1 UPnP Base Driver

The functionality of the UPnP service is implemented in a UPnP base driver. This is a bundle that implements the UPnP protocols and handles the interaction with bundles that use the UPnP devices. A UPnP base driver bundle must provide the following functions:

  • Discover UPnP devices on the network and map each discovered device into an OSGi registered UPnP Device service.
  • Present UPnP marked services that are registered with the OSGi Framework on one or more networks to be used by other computers.

UPnPPresent tracks UPnPDevice services registered for export. When a service is registered/unregistered UPnPPresent will add/remove it with jUPnP.

When a service changes a state variable that sends events UPnPPresent will send that change to external listeners.

Autor:
Bruce Green
  • Konstruktordetails

    • UPnPPresent

      public UPnPPresent(org.osgi.framework.BundleContext context, UpnpService upnpService)
  • Methodendetails

    • deactivate

      public void deactivate()