tree: 01d3a7c2e3d7cab0193e557706361fc44df8459c [path history] [tgz]
  1. cat.py
  2. count-randomly.py
  3. counter.py
  4. delegates.py
  5. echo.py
  6. global-logger.py
  7. goodbye-world.py
  8. handlers.py
  9. hello-world.py
  10. reactor-logger.py
  11. README.md
  12. recv.py
  13. scheduling.py
  14. send.py
  15. tornado-hello-world.py
  16. tornado-send.py
  17. tornado_app.py
  18. unhandled.py
examples/python/reactor/README.md

The examples in this directory provide a basic introduction to the proton reactor API and are best viewed in the order presented below.

The examples contain comments that explain things in a tutorial-style manner. At some point soon this content will be pulled out into a proper tutorial that references the relevant code snippets from these examples. Until then please bear with this clumsy style of presentation.

This API is present in C as well and most of these examples will transliterate into C in a fairly straightforward way.

  • hello-world.py

  • goodbye-world.py

  • scheduling.py

  • counter.py

  • count-randomly.py

  • unhandled.py

  • reactor-logger.py

  • global-logger.py

  • delegates.py

  • handlers.py

  • echo.py

  • cat.py

  • send.py

  • recv.py

  • tornado-hello-world.py

  • tornado-send.py