From: <ul...@us...> - 2010-10-15 23:23:54
|
Revision: 57 http://adc.svn.sourceforge.net/adc/?rev=57&view=rev Author: ullner Date: 2010-10-15 23:23:48 +0000 (Fri, 15 Oct 2010) Log Message: ----------- Added TYPE for chat state notifications. Modified Paths: -------------- trunk/ADC-EXT.txt Modified: trunk/ADC-EXT.txt =================================================================== --- trunk/ADC-EXT.txt 2010-10-15 23:10:18 UTC (rev 56) +++ trunk/ADC-EXT.txt 2010-10-15 23:23:48 UTC (rev 57) @@ -46,6 +46,7 @@ * Added 'KEYP' extension for providing certificate substitution protection in ADCS. * Added note to signal DFAV in SUP. * Added 'SUDP' extension for encryption of UDP traffic. +* Added 'TYPE' extension for chat state notifications. == Extensions @@ -179,7 +180,7 @@ -pinger- HSUP ADBASE ADPING AD.. -hub- ISUP ADBASE ADPING AD.. -hub- ISID .. - -hub- IINF NIhubname DEcurrent\stopic VE.. HHmyhub.no-ip.org:555 WShttp://myhub.no-ip.org/ OWmyname UC2231 SS.. SF.. MS0 ML0 MC5000 + -hub- IINF NIhubname DEcurrent\stopic VE.. HHexample.org:555 WShttp://example.org/ OWmyname UC2231 SS.. SF.. MS0 ML0 MC5000 - (pinger may disconnect) ==== @@ -196,7 +197,7 @@ -hub- HSUP ADBASE ADPING AD.. -hublist- ISUP ADBASE ADPING AD.. -hublist- IINF NIhublist_name WShublist_address - -hub- HINF NIhubname DEcurrent\stopic VE.. HHmyhub.no-ip.org:555 WShttp://myhub.no-ip.org/ OWmyname UC2231 SS.. SF.. MS0 ML0 MC5000 + -hub- HINF NIhubname DEcurrent\stopic VE.. HHexample.org:555 WShttp://example.org/ OWmyname UC2231 SS.. SF.. MS0 ML0 MC5000 -( disconnect ) ==== @@ -556,7 +557,6 @@ ==== === SUDP - Encrypting UDP traffic - This is an extension that allows UDP traffic to be encrypted. While assymetric encryption may be optimal in sense of security, a symmetric cipher will protect perfectly against outside adversaries given the hub-client connections is also running ADCS. New is that senders now create a random IV for their "request command" (e.g. searches) and send it along the "response command" (e.g. search result). @@ -585,4 +585,28 @@ Note that in a normal circumstance, the client will most likely be using relatively few active keys. +=== TYPE - Typing notification +This extension adds a typing similar to Jabber's http://www.xmpp.org/extensions/xep-0085.html["Chat state notifications"]. + +Signal TYPE in SUP and the INF's SU field. + +==== TPN + TPN code + +Contexts: F, T + +States: NORMAL + +Command should be sent to the Reply-To user (PM field in MSG, if present). All TPN messages are sent when the event occur. + +Code values: +[options="autowidth"] +|===== +|00 |Gone |Closed tab, minimized window, etc |Should be sent. +|01 |Inactive |Changed tab, window became unfocused (but not closed or minimized), etc |Should be sent. +|02 |Paused |Paused typing. |Should be sent. +|10 |Active |Now in this tab, reading message and is actively participating in the chat session. |Must be sent. +|11 |Composing |Currently typing a message. |Must be sent. +|===== + // vim: set syntax=asciidoc: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |