Skip to content

Commit dbefe36

Browse files
committed
Use an updated image for the sequence diagram. Fixes issue w3c#29.
1 parent 60e395f commit dbefe36

2 files changed

Lines changed: 11 additions & 51 deletions

File tree

index.html

Lines changed: 11 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -440,58 +440,18 @@ <h2>
440440
}).then(registerWithAppServer, logError);
441441
});
442442
});
443-
444-
445-
/* Hypothetical end-to-end flow of a push service lifecycle
446-
+--------+ +--------+ +--------+ +--------+
447-
| webapp | | user | | push | | app |
448-
| +SW | | agent | | server | | server |
449-
+--------+ +--------+ +--------+ +--------+
450-
| | | |
451-
| | | Developer registers with push
452-
| | | service(s) and receives data
453-
| | | needed for app registration
454-
| | | with push service
455-
User invokes app, | | |
456-
which is configured | | |
457-
with push service | | |
458-
registration options | | |
459-
|&lt;---- app setup with push service registration options if needed ---&gt;|
460-
| | | |
461-
|--register w/options---&gt;| | |
462-
| (user accepts) | |
463-
| | | |
464-
| |&lt;-setup push service-&gt;| |
465-
| | | |
466-
|&lt;--- call promise ------| | |
467-
| fullfilled function w/ | | |
468-
| registration attributes| | |
469-
| | | |
470-
|&lt;----deliver registration attributes to app server for later use----&gt;|
471-
| | | |
472-
| | | Server associates registration
473-
| | | attributes with webapp
474-
| | | |
475-
| | | (sometime later)
476-
| | | Server has data to push,
477-
| | | invokes push server API as
478-
| | | per registration attributes
479-
| | | |
480-
| | |&lt;--push message-|
481-
| | | per service API |
482-
| | | |
483-
| | (match to user agent) |
484-
| | | |
485-
| |&lt;--push message--| |
486-
| | per service protocol | |
487-
| | | |
488-
| (match to webapp) | |
489-
| | | |
490-
|&lt;-----push message------| | |
491-
| | | |
492-
*/
493-
494443
</pre>
444+
445+
<section class="informative">
446+
<h2>Sequence diagram</h2>
447+
<figure>
448+
<a href="sequence_diagram.png"><img src="sequence_diagram.png" width="800"></a>
449+
<figcaption>
450+
Example flow of events for registration, message delivery, and
451+
unregistration
452+
</figcaption>
453+
</section>
454+
495455
<section>
496456
<h3>
497457
Push Server Discovery and API Use

sequence_diagram.png

57.3 KB
Loading

0 commit comments

Comments
 (0)