#
# Demo API
# agent.dog.bark(how_many_times)
# agent.dog.wag(how_many_times)
# agent.dog.notpermitted() # raised exception
# agent.repolib.update()
#

Install and start QPID

Start the client (in a terminal):
  python agent.py

Start the server (in a terminal):
  python -i server.py

> test() # run demo
>
> agent.dog.bark(1) # play with API

QPID 0.77
----------------
measuring performance ...
total=14.358 (seconds), percall=71.794400 (ms)
measuring (async) performance ...
total=3.206 (seconds), percall=16.032785 (ms)
DONE
