summaryrefslogtreecommitdiff
path: root/python/examples/README.txt
blob: 3a3e421a1e9cf945374f04bf9681699cde8f4d0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
The Python Examples
===================

README.txt                 -- This file.

api                        -- Directory containing drain, spout,
                              sever, hello, and hello_xml examples.

api/drain                  -- A simple messaging client that prints
                              messages from the source specified on
                              the command line.

api/spout                  -- A simple messaging client that sends
                              messages to the target specified on the
                              command line.

api/send                   -- Sends messages to a specified queue.

api/receive                -- Receives messages from a specified queue.
                              Use with the send example above.

api/server                 -- An example server that process incoming
                              messages and sends replies.

api/hello                  -- An example client that sends a message
                              and then receives it.

api/hello_xml              -- An example client that sends a message
                              to the xml exchange and then receives
                              it.


reservations               -- Directory containing an example machine
                              reservation system.

reservations/common.py     -- Utility code used by reserve,
                              machine-agent, and inventory scripts.

reservations/reserve       -- Messaging client for listing, reserving,
                              and releasing machines.

reservations/machine-agent -- Messaging server that tracks and reports
                              on the status of its host machine and
                              listens for reservation requests.

reservations/inventory     -- Messaging server that tracks the last
                              known status of machines.