summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorJens Georg <jensg@openismus.com>2012-10-11 16:04:44 +0200
committerJens Georg <jensg@openismus.com>2012-10-29 15:12:16 +0100
commitc6d97adf7e1f3fba974e316d84fa0281aaac3942 (patch)
treee2d8cffa1b9d7e8ad635b217536a5008e5d26cfb /data
parentc8057e923b88e323f4c3d533739b7bf73b652538 (diff)
downloadrygel-c6d97adf7e1f3fba974e316d84fa0281aaac3942.tar.gz
server: Implement ServiceResetToken
Currently it appears as if the server did a Service Reset Procedure (cf. UPnP-av-ContentDirectory-v3-Service.pdf, Section 2.3.7.1, pg 51) when it was shut down.
Diffstat (limited to 'data')
-rw-r--r--data/xml/ContentDirectory-NoTrack.xml.in18
-rw-r--r--data/xml/ContentDirectory.xml.in18
2 files changed, 36 insertions, 0 deletions
diff --git a/data/xml/ContentDirectory-NoTrack.xml.in b/data/xml/ContentDirectory-NoTrack.xml.in
index 84601588..b40ceefc 100644
--- a/data/xml/ContentDirectory-NoTrack.xml.in
+++ b/data/xml/ContentDirectory-NoTrack.xml.in
@@ -26,6 +26,11 @@
</stateVariable>
<stateVariable sendEvents="no">
+ <name>ServiceResetToken</name>
+ <dataType>string</dataType>
+ </stateVariable>
+
+ <stateVariable sendEvents="no">
<name>FeatureList</name>
<dataType>string</dataType>
</stateVariable>
@@ -151,6 +156,19 @@
</action>
<action>
+ <name>GetServiceResetToken</name>
+ <argumentList>
+ <argument>
+ <name>ResetToken</name>
+ <direction>out</direction>
+ <relatedStateVariable>
+ ServiceResetToken
+ </relatedStateVariable>
+ </argument>
+ </argumentList>
+ </action>
+
+ <action>
<name>GetFeatureList</name>
<argumentList>
<argument>
diff --git a/data/xml/ContentDirectory.xml.in b/data/xml/ContentDirectory.xml.in
index 1d8ba504..2e156c4f 100644
--- a/data/xml/ContentDirectory.xml.in
+++ b/data/xml/ContentDirectory.xml.in
@@ -25,6 +25,11 @@
<dataType>string</dataType>
</stateVariable>
+ <stateVariable sendEvents="no">
+ <name>ServiceResetToken</name>
+ <dataType>string</dataType>
+ </stateVariable>
+
<stateVariable sendEvents="yes">
<name>LastChange</name>
<dataType>string</dataType>
@@ -156,6 +161,19 @@
</action>
<action>
+ <name>GetServiceResetToken</name>
+ <argumentList>
+ <argument>
+ <name>ResetToken</name>
+ <direction>out</direction>
+ <relatedStateVariable>
+ ServiceResetToken
+ </relatedStateVariable>
+ </argument>
+ </argumentList>
+ </action>
+
+ <action>
<name>GetFeatureList</name>
<argumentList>
<argument>