|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.hyades.trace.ui.internal.piclient.PIProcessListener
public class PIProcessListener
| Field Summary | |
|---|---|
protected boolean |
_autoMonitoring
|
protected int |
_launchMode
|
protected boolean |
_monitor
|
protected java.util.ArrayList |
_monitoredAgents
|
protected java.util.ArrayList |
_processVariableList
|
protected org.eclipse.hyades.models.hierarchy.TRCNode |
fNode
|
protected org.eclipse.hyades.models.hierarchy.TRCProcessProxy |
fProcess
|
protected static java.lang.String |
getLauncherHandlersExtPoint
|
| Constructor Summary | |
|---|---|
PIProcessListener(org.eclipse.hyades.models.hierarchy.TRCNode node)
PIProcessListener constructor comment. |
|
PIProcessListener(org.eclipse.hyades.models.hierarchy.TRCNode node,
org.eclipse.hyades.models.hierarchy.TRCProcessProxy process)
|
|
| Method Summary | |
|---|---|
void |
addAgent(Agent agent)
If this method is invoked to add an agent, then only agents that are explicitly added will be loaded as part of the model; otherwise all agents associated with the process will be loaded. |
void |
agentActive(Agent ag)
Invoked when an agent first becomes active |
void |
agentInactive(Agent ag)
Invoked when an agent becomes inactive. |
void |
dispose()
|
void |
error(Agent agent,
java.lang.String errorId,
java.lang.String errStr)
Invoked when an error is recieved from the agent. |
StatGeneratorDataProcessor |
getDataProcessor()
Return the data processor associated with this listener. |
java.util.ArrayList |
getProcessVariableList()
|
protected void |
giveControl(org.eclipse.hyades.models.hierarchy.TRCAgentProxy agentProxy,
boolean pre,
boolean active)
called during an agentActive or agentInactive scenario |
protected void |
giveControl(org.eclipse.hyades.models.hierarchy.TRCProcessProxy processProxy,
boolean launched)
called during a process Lauhced or process Exited scenario |
void |
handleCommand(Agent agent,
CommandElement command)
Invoked when there is no established handler for the context of a message. |
void |
monitor(boolean monitor)
|
void |
peerWaiting(Agent agent,
Agent peer)
Invoked when an agent requests to be monitored because this client is currently monitoring another agent. |
void |
processExited(Process result)
Invoked when a process that was previously launched exits.The process parameter contains all the information regarding the process. |
void |
processLaunched(Process result)
Invoked when a process is launched. |
Agent |
sendConfigurationToAgent(org.eclipse.hyades.models.hierarchy.TRCAgentProxy agent,
java.lang.String host,
java.lang.String processId)
|
void |
setAutoMonitoring(boolean b)
|
void |
setLaunchMode(int mode)
Insert the method's description here. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected java.util.ArrayList _monitoredAgents
protected java.util.ArrayList _processVariableList
protected org.eclipse.hyades.models.hierarchy.TRCNode fNode
protected org.eclipse.hyades.models.hierarchy.TRCProcessProxy fProcess
protected boolean _autoMonitoring
protected boolean _monitor
protected int _launchMode
protected static final java.lang.String getLauncherHandlersExtPoint
| Constructor Detail |
|---|
public PIProcessListener(org.eclipse.hyades.models.hierarchy.TRCNode node)
public PIProcessListener(org.eclipse.hyades.models.hierarchy.TRCNode node,
org.eclipse.hyades.models.hierarchy.TRCProcessProxy process)
| Method Detail |
|---|
public void setAutoMonitoring(boolean b)
b - public void setLaunchMode(int mode)
mode - intpublic java.util.ArrayList getProcessVariableList()
public StatGeneratorDataProcessor getDataProcessor()
public void agentActive(Agent ag)
AgentListener
agentActive in interface AgentListenerpublic void agentInactive(Agent ag)
AgentListener
agentInactive in interface AgentListener
protected void giveControl(org.eclipse.hyades.models.hierarchy.TRCAgentProxy agentProxy,
boolean pre,
boolean active)
agentProxy - pre - active -
protected void giveControl(org.eclipse.hyades.models.hierarchy.TRCProcessProxy processProxy,
boolean launched)
processProxy - launched - public void dispose()
public void error(Agent agent,
java.lang.String errorId,
java.lang.String errStr)
error in interface AgentListener
public void handleCommand(Agent agent,
CommandElement command)
AgentListener
handleCommand in interface AgentListenerpublic void monitor(boolean monitor)
public void peerWaiting(Agent agent,
Agent peer)
peerWaiting in interface AgentPeerListenerpublic void processExited(Process result)
ProcessListener
processExited in interface ProcessListenerpublic void processLaunched(Process result)
ProcessListener
processLaunched in interface ProcessListener
public Agent sendConfigurationToAgent(org.eclipse.hyades.models.hierarchy.TRCAgentProxy agent,
java.lang.String host,
java.lang.String processId)
public void addAgent(Agent agent)
agent - The agent to be added
|
TPTP 4.6.0 Platform Project Internal API Specification |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||