Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

Commit

Permalink
added TODOs, updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
Felix Richter authored and Felix Richter committed Jan 19, 2011
1 parent 1b435cb commit b651354
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -14,13 +14,13 @@ Currently the python implementation has the following submodules
Version number of the script and the configuration given
* auto\_amqp.py - the amqp connector class which provides the following
functions:
* load\_conf(str) - loads and merges configuration from the given dictionary
* load\_conf(dict) - loads and merges configuration from the given dictionary

* load\_conf\_file(fname) - loads and merges configuration directly from a file

* create\_connection() - starts the connection the the AMQP Server

* [internal] \_setup\_tubes - creates the in 'config' configured input and output
* [internal] \_setup\_tubes() - creates the in 'config' configured input and output
queues/exchanges. will be called by create_connection
in addition it registers the following functions if input exchange is
defined:
Expand All @@ -29,12 +29,11 @@ Currently the python implementation has the following submodules
* start\_loop () - calls asyncore\_loop()
the following function is registered if the output exchange is defined
* publish (msg) - sends a message to the output exchange

* close\_connection () - closes all connections, cleans up the object
In addition to that, auto\_amqp.py needs to hold a "default parameter"
list called DEFAULT\_CONFIG.



Dependencies
===========
* simplejson
Expand Down
5 changes: 5 additions & 0 deletions TODO.md
@@ -0,0 +1,5 @@
TODOs
=====
- in auto_amqp.py:
- make load_conf recursively merge "all" dictionaries in the
configuration file

0 comments on commit b651354

Please sign in to comment.