[rygel] docs: librygel-server: Document get_system_update_id().



commit 5edc18cd132ef1ebbf0081667c4f00e9cc005cf9
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jan 18 10:30:15 2013 +0100

    docs: librygel-server: Document get_system_update_id().

 src/librygel-server/rygel-trackable-container.vala |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-server/rygel-trackable-container.vala b/src/librygel-server/rygel-trackable-container.vala
index f6307d4..5ccc141 100644
--- a/src/librygel-server/rygel-trackable-container.vala
+++ b/src/librygel-server/rygel-trackable-container.vala
@@ -126,9 +126,19 @@ public interface Rygel.TrackableContainer : Rygel.MediaContainer {
     public virtual void set_service_reset_token (string token) {}
 
     /**
-     * Query the current system update ID.
+     * Query the current system update ID,
+     * used for the UPnP GetSystemUpdateID implementation.
+     *
      * This should be overriden by the root container of the back-end
-     * implementation.
+     * implementation. This will only be called once, at service startup, 
+     * to discover the cached system Update ID, if any, that was known
+     * when the service last shut down.
+     *
+     * Derived classes may need to delay part of their initialization
+     * until this function has been called, doing that initialization in
+     * the function override. That can prevent other parts of their 
+     * implementation from changing the cached System Update ID before
+     * it has been provided.
      *
      * @return the current SystemUpdateID as persisted by the back-end.
      */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]