TPTP 4.5.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.local
Class SessionImpl

java.lang.Object
  extended by org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
      extended by org.eclipse.hyades.execution.local.SessionImpl
All Implemented Interfaces:
IExecutionComponent, ISession

public class SessionImpl
extends ExecutionComponentImpl
implements ISession


Field Summary
 
Fields inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
DEAD, INACTIVE, NOT_CONFIGURED, READY, SUSPENDED
 
Constructor Summary
SessionImpl(INode node, org.eclipse.hyades.internal.execution.local.control.Agent agent)
           
 
Method Summary
 org.eclipse.hyades.internal.execution.local.control.Agent getAgent()
           
 INode getNode()
          We need to be able to navigate back to our node.
 void invokeRemote(org.eclipse.hyades.internal.execution.local.common.CustomCommand command)
           
 void release()
          Release this session so that it can be cleaned up and destroyed if no other tools are using it.
 void removeListener()
           
 
Methods inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getParent, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getParent, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 

Constructor Detail

SessionImpl

public SessionImpl(INode node,
                   org.eclipse.hyades.internal.execution.local.control.Agent agent)
Method Detail

release

public void release()
Description copied from interface: ISession
Release this session so that it can be cleaned up and destroyed if no other tools are using it.

Specified by:
release in interface ISession

removeListener

public void removeListener()

getNode

public INode getNode()
We need to be able to navigate back to our node.

Specified by:
getNode in interface IExecutionComponent
Overrides:
getNode in class ExecutionComponentImpl
Returns:
the node on which this IExecutionComponent resides
See Also:
IExecutionComponent.getNode()

invokeRemote

public void invokeRemote(org.eclipse.hyades.internal.execution.local.common.CustomCommand command)

getAgent

public org.eclipse.hyades.internal.execution.local.control.Agent getAgent()

TPTP 4.5.0 Platform Project
Public API Specification