|[new AC] Hox to process command with a body from Java ? [message #116125]
||Mon, 22 October 2007 09:33
Originally posted by: mlafon.arcadsoftware.removethis.com|
I try to build an Agent, in Java, with the new AC API. If I send a
command with a body from a client, something like :
<cmd src="..." dest="..." ctxt="..">
Then my java agent proceed to the command "mycmd" but the
getCommandData() return an empty string !!! My question is, how can I
pass some command's parameter to an agent ?
(If the agent send a command with a body then the client receive it with
full body !)
I'm using tptp 18.104.22.168, under windows and Linux (Debian).
If I take a look to source code of the JavaBaseAgent library (with cvs),
I can see that the function processCmdCallBkWCtxt (in BaseAgentJNI.cpp)
does not set the command body (via setCommand method). So, I think,
it's missing something, somewhere !
My entreprise have plan to build agents on top of TPTP. Can someone tell
me if the new API is stable enough to production stage ? and, if not,
when will it be ? in 4.4.1, 4.5 ?
PS: Sorry for my bad english... this is monday morning !
Powered by FUDForum
. Page generated in 0.01611 seconds