Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Test and Performance Tools Platform (TPTP) » Agent-2-Agent Communication
Agent-2-Agent Communication [message #94494] Thu, 29 March 2007 14:31 Go to next message
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 Go to previous message
No real name is currently offline No real name
Messages: 404
Registered: July 2009
Senior Member
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...
>
>
>
>
>
Previous Topic:NoClassDefFound while opening ProfileLaunch Configuration Dialog
Next Topic:UML2SD not showing anything
Goto Forum:
  


Current Time: Thu Jul 31 07:34:40 EDT 2014

Powered by FUDForum. Page generated in 0.01776 seconds