Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » How can I listen to an existing (Eclipse Profiler) data collector?
How can I listen to an existing (Eclipse Profiler) data collector? [message #106039] Fri, 20 July 2007 18:46
Eclipse UserFriend
Originally posted by: wrobinson.gsu.edu

How can I listen to an existing data collector?

I can Profile a program with output the CBE event logging agent. Now, I want
my own program to listen to the CBE log (created by Eclipse). I've had some
success (occasionally), but my listener then prevents Eclipse from getting
the log messages.
Can two clients listen to the same data collector?

Here's a bit of my code:

IAgent a = ac.getAgent("org.eclipse.tptp.legacy.CBE Analysis Logging
Agent","org.eclipse.tptp.legacy.CBE Analysis");
if (a != null) {
a.startMonitoring(new DataProcessor());
}

When this works, my DataProcessor (IDataProcessor) gets the incomingData
messages. But, when the occurs Eclipse doesn't get the same messages.

Thanks for any help provided. :-)
Previous Topic:Integrated Agent Controller, config file invalid
Next Topic:AGR plugin.xml
Goto Forum:
  


Current Time: Tue Apr 23 09:27:38 GMT 2024

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

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

Back to the top