Agent-2-Agent Communication [message #94494] |
Thu, 29 March 2007 14:31  |
Eclipse User |
|
|
|
Originally posted by: guyfromindia.gmail.com
A quick question for the 'gurus'...
-- Can a New Tech AgentController communicate with a (Old Tech) RAC agent?
I would like to *send* data from a custom NewTechAgent to a LoggingAgent
that is hosted on the workbench. LoggingAgent is using the 'old' APIs, I
think. But my NewTechAgent uses the new APIs..
For example,
1. I have the LoggingAgent running and waiting for data
2. I fire up a Client and I can see my LoggingAgent running
(queryRunningAgents).
3. But, when I try to 'getAgent()', it cannot find it...
|
|
|
Re: Agent-2-Agent Communication [message #94542 is a reply to message #94494] |
Fri, 30 March 2007 04:05  |
Eclipse User |
|
|
|
Yes, there is a compatibility layer that is included with the new AC that
allows it to retrieve old agent information. You'll need to use the old
execution framework APIs (platform/org.eclipse.hyades.execution) to be able
to retrieve the agent.
To access the agent, you'll need to:
1. Establish a connection to get a Node object
2. Use Node.listProcesses() to list the available processes
3. Use Process.listAgents() to find the logging agent.
Thanks,
Ali Mehregani
"Raj" <guyfromindia@gmail.com> wrote in message
news:euh0lv$3gi$1@build.eclipse.org...
>A quick question for the 'gurus'...
>
> -- Can a New Tech AgentController communicate with a (Old Tech) RAC
> agent?
>
> I would like to *send* data from a custom NewTechAgent to a LoggingAgent
> that is hosted on the workbench. LoggingAgent is using the 'old' APIs, I
> think. But my NewTechAgent uses the new APIs..
>
> For example,
> 1. I have the LoggingAgent running and waiting for data
> 2. I fire up a Client and I can see my LoggingAgent running
> (queryRunningAgents).
> 3. But, when I try to 'getAgent()', it cannot find it...
>
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03294 seconds