~ubuntu-branches/debian/sid/pyro/sid

« back to all changes in this revision

Viewing changes to examples/stockquotes/Readme.txt

  • Committer: Bazaar Package Importer
  • Author(s): Carl Chenet, Carl Chenet, Jakub Wilk
  • Date: 2010-09-14 01:04:28 UTC
  • Revision ID: james.westby@ubuntu.com-20100914010428-02r7p1rzr7jvw94z
Tags: 1:3.9.1-2
[Carl Chenet]
* revert to 3.9.1-1 package because of the development status 
  of the 4.1 package is unsuitable for stable use
  DPMT svn #8557 revision (Closes: #589172) 
* added debian/source
* added debian/source/format
* package is now 3.0 (quilt) source format
* debian/control
  - Bump Standards-Version to 3.9.1

[Jakub Wilk]
* Add ‘XS-Python-Version: >= 2.5’ to prevent bytecompilation with python2.4
  (closes: #589053).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This simple stock quote server shows the use of the Event Service.
 
2
Clients subscribe to certain stock quotes.
 
3
Stock markets publish certain stock quotes at random intervals.
 
4
The interested clients receive the quotes.
 
5
 
 
6
MAKE SURE THAT THE EVENT SERVICE (es) HAS BEEN STARTED IN ADVANCE.
 
7
 
 
8
You may want to start multiple clients in different windows that
 
9
listen to different (or the same!) stock symbols.
 
10
If you start a second or third server, stock quotes will 
 
11
be generated faster because there are multiple publishers!
 
12
 
 
13
Publishers don't know the interested parties and the listeners
 
14
don't know where the quotes come from.
 
15
 
 
16
The MClient program uses a pattern match for subscribing.
 
17
 
 
18
 
 
19
See also the countingcars example.
 
20
 
 
21
 
 
22
Note: the Server_noNS and Client_noNS show the use of the event server
 
23
without using the name server. You can start the Event server itself with the -N
 
24
parameter. This way you don't need to have a name server running.