TPTP 4.2.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.remote
Class SessionImpl

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

public class SessionImpl
extends ExecutionComponentImpl
implements ISession


Field Summary
 
Fields inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
children, id, name, node, parent, state, stateChangeListeners, type, version
 
Fields inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
DEAD, INACTIVE, NOT_CONFIGURED, READY, SUSPENDED
 
Constructor Summary
SessionImpl(java.lang.String name, java.lang.String type)
           
 
Method Summary
 void handleCommands()
           
 void init()
          This method should be called by the factory implementations after the object has been created so that it can do some addional setup if necessary.
 void release()
          Release this session so that it can be cleaned up and destroyed if no other tools are using it.
 void replyRemote(org.eclipse.hyades.internal.execution.local.common.CustomCommand command)
           
 void waitForExit()
          This method blocks the calling thread until the exit() method is invoked on another thread
 
Methods inherited from class org.eclipse.hyades.execution.core.impl.ExecutionComponentImpl
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getState, getType, getVersion, handleMessage, 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, getNode, getParent, getState, getType, getVersion, handleMessage, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 

Constructor Detail

SessionImpl

public SessionImpl(java.lang.String name,
                   java.lang.String type)
Method Detail

init

public void init()
Description copied from interface: IExecutionComponent
This method should be called by the factory implementations after the object has been created so that it can do some addional setup if necessary.

Specified by:
init in interface IExecutionComponent
Overrides:
init in class ExecutionComponentImpl
See Also:
IExecutionComponent.init()

waitForExit

public void waitForExit()
This method blocks the calling thread until the exit() method is invoked on another thread


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
See Also:
ISession.release()

replyRemote

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

handleCommands

public void handleCommands()

TPTP 4.2.0 Platform Project
Public API Specification