For agents. We should implement a supports_x message as follows.
x is a number that maps to an enumerated type. That type maps to an
interface name.
For example, x==1 might map to supportsValueQueries.
So then using our standard trick, we can make a general supports_x request
type that uses our regular strategy for "can handle automatically" and
"handle automatically".
Can Handle?
return (agent instanceof supportsQuerys.getType(x));
Not all of the kinks worked out yet, but basically we really want the value
function component to be able to ask the agent if it is supported, and if
not, we want to not use that component. I'm trying to think of a way that
will allow us to add new queries in the implementation without changing the
interface to RLVizLib.
Original issue reported on code.google.com by brian.ta...@gmail.com on 12 Dec 2007 at 5:09
Original issue reported on code.google.com by
brian.ta...@gmail.com
on 12 Dec 2007 at 5:09