Klasse LastChangeAwareServiceManager<T extends LastChangeDelegator>

java.lang.Object
org.jupnp.model.DefaultServiceManager<T>
org.jupnp.support.lastchange.LastChangeAwareServiceManager<T>
Alle implementierten Schnittstellen:
ServiceManager<T>

public class LastChangeAwareServiceManager<T extends LastChangeDelegator> extends DefaultServiceManager<T>
Handles the "initial" event state for GENA subscriptions to services using LastChange.

When a GENA subscription is made on your AVTransport/RenderingControl service, you have to read the initial state of the service. Usually Cling would do this for you and simply access all the state variables of your service behind the scenes. But the AVTransport/RenderingControl service doesn't use regular UPnP state variable eventing internally, they rely on the awful "LastChange" mechanism for their "logical" instances.

Use this ServiceManager instead of the default one for these services.

Autor:
Christian Bauer, Amit Kumar Mondal - Code Refactoring