How can I listen to an existing (Eclipse Profiler) data collector? [message #106039] |
Fri, 20 July 2007 14:46 |
Eclipse User |
|
|
|
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. :-)
|
|
|
Powered by
FUDForum. Page generated in 0.03694 seconds