Klasse LastChange

java.lang.Object
org.jupnp.support.lastchange.LastChange

public class LastChange extends Object
Collects all state changes per logical instance.

This class is supposed to be used on a UPnP state variable field, on a RenderingControl or AVTransport service. The service then sets evented values whenever its state changes, and periodically (e.g. in a background loop) fires the "LastChange" XML content through its PropertyChangeSupport. (Where the ServiceManager picks it up and sends it to all subscribers.)

The event subscriber can use this class to marshall the "LastChange" content, when the event XML is received.

This class is thread-safe.

Autor:
Christian Bauer - Initial Contribution, Amit Kumar Mondal - Code Refactoring