TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.local
Class SessionImpl

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

public class SessionImpl
extends ExecutionComponentImpl
implements ISession


Field Summary
protected  org.eclipse.hyades.internal.execution.local.control.Agent agent
           
protected  INode node
           
 
Fields inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
children, id, name, parent, state, stateChangeListeners, type, version
 
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
clone, equals, finalize, 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
 

Field Detail

node

protected INode node

agent

protected org.eclipse.hyades.internal.execution.local.control.Agent agent
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
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.2.0 Platform Project
Public API Specification