discovery-api/Overview.src.html
changeset 448 865b6f93faac
parent 447 5e36d90b8960
child 449 41aeb68f3f12
     1.1 --- a/discovery-api/Overview.src.html	Thu Aug 29 11:01:15 2013 +0200
     1.2 +++ b/discovery-api/Overview.src.html	Fri Aug 30 11:56:42 2013 +0200
     1.3 @@ -716,10 +716,9 @@
     1.4  
     1.5    // event handler attributes
     1.6             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
     1.7 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onserviceavailable">onserviceavailable</a>;
     1.8 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicefound">onservicefound</a>;
     1.9             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    1.10 -     class="externalDFN">EventHandler</a>     <a href=
    1.11 -     "#dom-networkservices-onserviceunavailable">onserviceunavailable</a>;
    1.12 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservices-onservicelost">onservicelost</a>;
    1.13  
    1.14  };
    1.15  
    1.16 @@ -849,20 +848,20 @@
    1.17            <tbody>
    1.18              <tr>
    1.19                <td>
    1.20 -                <dfn id="dom-networkservices-onserviceavailable"
    1.21 -                    title="dom-NetworkServices-onserviceavailable"><code>onserviceavailable</code></dfn>
    1.22 +                <dfn id="dom-networkservices-onservicefound"
    1.23 +                    title="dom-NetworkServices-onservicefound"><code>onservicefound</code></dfn>
    1.24                </td>
    1.25                <td>
    1.26 -                <a href="#event-serviceavailable"><code>serviceavailable</code></a>
    1.27 +                <a href="#event-servicefound"><code>servicefound</code></a>
    1.28                </td>
    1.29              </tr>
    1.30              <tr>
    1.31                <td>
    1.32 -                <dfn id="dom-networkservices-onserviceunavailable"
    1.33 -                    title="dom-NetworkServices-onserviceunavailable"><code>onserviceunavailable</code></dfn>
    1.34 +                <dfn id="dom-networkservices-onservicelost"
    1.35 +                    title="dom-NetworkServices-onservicelost"><code>onservicelost</code></dfn>
    1.36                </td>
    1.37                <td>
    1.38 -                <a href="#event-serviceunavailable"><code>serviceunavailable</code></a>
    1.39 +                <a href="#event-servicelost"><code>servicelost</code></a>
    1.40                </td>
    1.41              </tr>
    1.42            </tbody>
    1.43 @@ -890,9 +889,9 @@
    1.44  
    1.45    // event handler attributes
    1.46             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    1.47 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceonline">onserviceonline</a>;
    1.48 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onavailable">onavailable</a>;
    1.49             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    1.50 -     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onserviceoffline">onserviceoffline</a>;
    1.51 +     class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onunavailable">onunavailable</a>;
    1.52  
    1.53             attribute <a href="http://www.whatwg.org/specs/web-apps/current-work/multipage/webappapis.html#eventhandler"
    1.54       class="externalDFN">EventHandler</a>     <a href="#dom-networkservice-onnotify">onnotify</a>;
    1.55 @@ -1037,20 +1036,20 @@
    1.56              </tr>
    1.57              <tr>
    1.58                <td>
    1.59 -                <dfn id="dom-networkservice-onserviceonline"
    1.60 -                    title="dom-NetworkService-onserviceonline"><code>onserviceonline</code></dfn>
    1.61 +                <dfn id="dom-networkservice-onavailable"
    1.62 +                    title="dom-NetworkService-onavailable"><code>onavailable</code></dfn>
    1.63                </td>
    1.64                <td>
    1.65 -                <a href="#event-serviceonline"><code>serviceonline</code></a>
    1.66 +                <a href="#event-available"><code>available</code></a>
    1.67                </td>
    1.68              </tr>
    1.69              <tr>
    1.70                <td>
    1.71 -                <dfn id="dom-networkservice-onserviceoffline"
    1.72 -                    title="dom-NetworkService-onserviceoffline"><code>onserviceoffline</code></dfn>
    1.73 +                <dfn id="dom-networkservice-onunavailable"
    1.74 +                    title="dom-NetworkService-onunavailable"><code>onunavailable</code></dfn>
    1.75                </td>
    1.76                <td>
    1.77 -                <a href="#event-serviceoffline"><code>serviceoffline</code></a>
    1.78 +                <a href="#event-unavailable"><code>unavailable</code></a>
    1.79                </td>
    1.80              </tr>
    1.81            </tbody>
    1.82 @@ -1132,7 +1131,7 @@
    1.83                  "#dom-networkservice-online"><code>online</code></a> attribute to <code>true</code> and then <a href=
    1.84                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
    1.85                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
    1.86 -                      "#event-serviceonline"><code>serviceonline</code></a> that uses the <a href=
    1.87 +                      "#event-available"><code>available</code></a> that uses the <a href=
    1.88                        "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
    1.89                        class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
    1.90                        and has no default action, at the current <var>active service</var> object.
    1.91 @@ -1158,7 +1157,7 @@
    1.92              "#dom-networkservices-servicesavailable"><code>servicesAvailable</code></a> attribute by <code>1</code> and
    1.93              then <a href="http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
    1.94                    class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
    1.95 -                  "#event-serviceavailable"><code>serviceavailable</code></a> that uses the <a href=
    1.96 +                  "#event-servicefound"><code>servicefound</code></a> that uses the <a href=
    1.97                    "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
    1.98                    class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable, and
    1.99                    has no default action, at the current <var>service manager</var> object.
   1.100 @@ -1196,7 +1195,7 @@
   1.101                        online</code></a> attribute to <code>false</code> and then <a href=
   1.102                        "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   1.103                            class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   1.104 -                          "#event-serviceoffline"><code>serviceoffline</code></a> that uses the <a href=
   1.105 +                          "#event-unavailable"><code>unavailable</code></a> that uses the <a href=
   1.106                            "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.107                            class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not
   1.108                            cancellable, and has no default action, at the current <var>active service</var>.
   1.109 @@ -1222,7 +1221,7 @@
   1.110                  and then <a href=
   1.111                  "http://www.whatwg.org/specs/web-apps/current-work/complete/webappapis.html#queue-a-task"
   1.112                        class="externalDFN">queue a task</a> to dispatch a newly created event with the name <a href=
   1.113 -                      "#event-serviceunavailable"><code>serviceunavailable</code></a> that uses the <a href=
   1.114 +                      "#event-servicelost"><code>servicelost</code></a> that uses the <a href=
   1.115                        "http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.116                        class="externalDFN"><code>Event</code></a> interface, which does not bubble, is not cancellable,
   1.117                        and has no default action, at the current <var>service manager</var> object.
   1.118 @@ -1730,7 +1729,7 @@
   1.119          <tbody>
   1.120            <tr>
   1.121              <td>
   1.122 -              <dfn id="event-serviceavailable"><code>serviceavailable</code></dfn>
   1.123 +              <dfn id="event-servicefound"><code>servicefound</code></dfn>
   1.124              </td>
   1.125              <td>
   1.126                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.127 @@ -1743,7 +1742,7 @@
   1.128            </tr>
   1.129            <tr>
   1.130              <td>
   1.131 -              <dfn id="event-serviceunavailable"><code>serviceunavailable</code></dfn>
   1.132 +              <dfn id="event-servicelost"><code>servicelost</code></dfn>
   1.133              </td>
   1.134              <td>
   1.135                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.136 @@ -1756,7 +1755,7 @@
   1.137            </tr>
   1.138            <tr>
   1.139              <td>
   1.140 -              <dfn id="event-serviceonline"><code>serviceonline</code></dfn>
   1.141 +              <dfn id="event-available"><code>available</code></dfn>
   1.142              </td>
   1.143              <td>
   1.144                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.145 @@ -1768,7 +1767,7 @@
   1.146            </tr>
   1.147            <tr>
   1.148              <td>
   1.149 -              <dfn id="event-serviceoffline"><code>serviceoffline</code></dfn>
   1.150 +              <dfn id="event-unavailable"><code>unavailable</code></dfn>
   1.151              </td>
   1.152              <td>
   1.153                <a href="http://dvcs.w3.org/hg/domcore/raw-file/tip/Overview.html#event"
   1.154 @@ -1933,7 +1932,7 @@
   1.155  
   1.156  // Listen for service disconnect messages
   1.157  
   1.158 -   services[0].addEventListener('serviceoffline', function ( e ) {
   1.159 +   services[0].addEventListener('unavailable', function ( e ) {
   1.160         debug.innerHTML += "&lt;br&gt;" + services[0].name + " disconnected.";
   1.161         startBtn.disabled = false;
   1.162     }, false);