summaryrefslogtreecommitdiff
path: root/spec/Channel_Type_File_Transfer.xml
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2011-09-29 21:17:42 +0200
committerXavier Claessens <xclaesse@gmail.com>2011-09-29 22:38:38 +0200
commitfa810607e474b44755612baded586efcb2c2c739 (patch)
tree1a40e27440183fb2dd76dadbcdb5e72759c43d30 /spec/Channel_Type_File_Transfer.xml
parent051ae67740f49bbdb328eadad837a8b72ea32838 (diff)
downloadtelepathy-glib-fa810607e474b44755612baded586efcb2c2c739.tar.gz
Update to spec 0.23.4
Except for Call stuff because the example using extensions needs update to new spec.
Diffstat (limited to 'spec/Channel_Type_File_Transfer.xml')
-rw-r--r--spec/Channel_Type_File_Transfer.xml25
1 files changed, 15 insertions, 10 deletions
diff --git a/spec/Channel_Type_File_Transfer.xml b/spec/Channel_Type_File_Transfer.xml
index 6963d2133..f50b96344 100644
--- a/spec/Channel_Type_File_Transfer.xml
+++ b/spec/Channel_Type_File_Transfer.xml
@@ -96,7 +96,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="ContentType" type="s" access="read"
- tp:name-for-bindings="Content_Type">
+ tp:name-for-bindings="Content_Type" tp:immutable="yes" tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The file's MIME type. This cannot change once the channel has
been created.</p>
@@ -109,7 +109,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="Filename" type="s" access="read"
- tp:name-for-bindings="Filename">
+ tp:name-for-bindings="Filename" tp:immutable="yes" tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The name of the file on the sender's side. This is therefore given
as a suggested filename for the receiver. This cannot change
@@ -126,7 +126,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="Size" type="t" access="read"
- tp:name-for-bindings="Size">
+ tp:name-for-bindings="Size" tp:immutable="yes" tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The size of the file. If this property is set, then the file
transfer is guaranteed to be this size. This cannot change once
@@ -145,7 +145,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="ContentHashType" type="u" tp:type="File_Hash_Type"
- access="read" tp:name-for-bindings="Content_Hash_Type">
+ access="read" tp:name-for-bindings="Content_Hash_Type" tp:immutable="yes"
+ tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The type of the <tp:member-ref>ContentHash</tp:member-ref> property.</p>
@@ -168,7 +169,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="ContentHash" type="s" access="read"
- tp:name-for-bindings="Content_Hash">
+ tp:name-for-bindings="Content_Hash" tp:immutable="yes"
+ tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Hash of the contents of the file transfer, of type described
in the value of the <tp:member-ref>ContentHashType</tp:member-ref>
@@ -184,7 +186,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="Description" type="s" access="read"
- tp:name-for-bindings="Description">
+ tp:name-for-bindings="Description" tp:immutable="yes" tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>Description of the file transfer. This cannot change once the
channel has been created.</p>
@@ -197,7 +199,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="Date" type="x" access="read"
- tp:type="Unix_Timestamp64" tp:name-for-bindings="Date">
+ tp:type="Unix_Timestamp64" tp:name-for-bindings="Date" tp:immutable="yes"
+ tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The last modification time of the file being transferred. This
cannot change once the channel has been created</p>
@@ -210,7 +213,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<property name="AvailableSocketTypes" type="a{uau}"
tp:type="Supported_Socket_Map" access="read"
- tp:name-for-bindings="Available_Socket_Types">
+ tp:name-for-bindings="Available_Socket_Types"
+ tp:immutable="yes" tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>A mapping from address types (members of Socket_Address_Type) to
arrays of access-control type (members of Socket_Access_Control)
@@ -243,7 +247,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
</property>
<property name="InitialOffset" type="t" access="read"
- tp:name-for-bindings="Initial_Offset">
+ tp:name-for-bindings="Initial_Offset" tp:requestable="yes">
<tp:docstring xmlns="http://www.w3.org/1999/xhtml">
<p>The offset in bytes from where the file should be sent. This MUST
be respected by both the receiver and the sender after the state
@@ -276,7 +280,8 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.</
<p>For incoming file transfers, this property MAY be set by the channel
handler before calling <tp:member-ref>AcceptFile</tp:member-ref> to
- inform observers where the incoming file will be saved.
+ inform observers where the incoming file will be saved. If set by an
+ approver, the handler MUST save the file to that location.
Setting this property once <tp:member-ref>AcceptFile</tp:member-ref>
has been called MUST fail. Once this property has been set
<tp:member-ref>URIDefined</tp:member-ref> is emitted.</p>