Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » Agent-2-Agent Communication
Agent-2-Agent Communication [message #94494] Thu, 29 March 2007 18:31 Go to next message
Eclipse UserFriend
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 08:05 Go to previous message
No real name is currently offline No real nameFriend
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: Tue Mar 19 04:59:45 GMT 2024

Powered by FUDForum. Page generated in 0.01956 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top