----- Original Message -----
On Sat, May 7, 2011 at 10:02 PM, Adam Stokes
<adam.stokes(a)gmail.com>
wrote:
> here is a good bindings example:
>
>
http://svn.apache.org/viewvc/qpid/trunk/qpid/cpp/bindings/qmf2/python/qmf...
>
> In the agent proxy class is where the querying happens
But in this example there is no querying.
Just stuff like:
161 if event.getType() == cqmf2.CONSOLE_AGENT_ADD:
162 self.agentAdded(Agent(event.getAgent()))
163
which is more in line with what I'd expect from the C++ API too.
I agree, however, without querying for the schema we still won't know what data
objects are exposed. I think the reason behind having the query is not only for newly
added agents but existing agents that may have their schema changed during connection.
--
__ __
.-----.| |_.-----.| |--.-----.-----.
|__ --|| _| _ || <| -__|__ --|
|_____||____|_____||__|__|_____|_____|
.----------------------------------.
( ajs(a)redhat.com || 919.754.4187 )
`----------------------------------'