The Meta-Environment API

toolbus.viewer
Interface IPerformanceMonitor

All Known Implementing Classes:
AbstractViewerAdapter

public interface IPerformanceMonitor

Listener that can be notified of the arrival of performance statistics messages.

Author:
Arnold Lankamp

Method Summary
 void performanceStatsArrived(ToolInstance toolInstance, aterm.ATerm aTerm)
          Fired when the performance statistics that were requested by the debug ToolBus arrived.
 void toolConnected(ToolInstance toolInstance)
          Fired when a tool connects.
 void toolConnectionClosed(ToolInstance toolInstance)
          Fired when a connection with a tool is terminated.
 

Method Detail

toolConnected

void toolConnected(ToolInstance toolInstance)
Fired when a tool connects.

Parameters:
toolInstance - The tool instance associated with the tool that connected.

toolConnectionClosed

void toolConnectionClosed(ToolInstance toolInstance)
Fired when a connection with a tool is terminated.

Parameters:
toolInstance - The tool instance associated with the tool that is no longer connected.

performanceStatsArrived

void performanceStatsArrived(ToolInstance toolInstance,
                             aterm.ATerm aTerm)
Fired when the performance statistics that were requested by the debug ToolBus arrived.

Parameters:
toolInstance - The tool instance the performance statistics are associated with.
aTerm - The term that contains the performance statistics data.

The Meta-Environment API