diff options
| author | Ted Ross <tross@apache.org> | 2009-09-15 17:45:51 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2009-09-15 17:45:51 +0000 |
| commit | 3f0838479df2a5678a6093f34276b9e336af3ded (patch) | |
| tree | ecceca23bb8b0d37701bb7678cb1d232a8fb4bfc /cpp/bindings/qmf/tests/python_agent.py | |
| parent | 3cf100216bc1e9c7207a3c963d984665d7a5b9a1 (diff) | |
| download | qpid-python-3f0838479df2a5678a6093f34276b9e336af3ded.tar.gz | |
QMF Console updated to the point where query (get_object) is supported.
The Ruby binding continues to track the c++ engine progress.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@815416 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/bindings/qmf/tests/python_agent.py')
| -rw-r--r-- | cpp/bindings/qmf/tests/python_agent.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/bindings/qmf/tests/python_agent.py b/cpp/bindings/qmf/tests/python_agent.py index f6cb51cbf5..d4373d3bb8 100644 --- a/cpp/bindings/qmf/tests/python_agent.py +++ b/cpp/bindings/qmf/tests/python_agent.py @@ -72,7 +72,9 @@ class Model: class App(qmf.AgentHandler): def get_query(self, context, query, userId): - # puts "Query: user=#{userId} context=#{context} class=#{query.class_name} object_num=#{query.object_id.object_num_low if query.object_id}" + #print "Query: user=%s context=%d class=%s" % (userId, context, query.class_name()) + #if query.object_id(): + # print query.object_id().object_num_low() self._parent.inc_attr("queryCount") if query.class_name() == 'parent': self._agent.query_response(context, self._parent) |
