TPTP 4.4.0 Platform Project
Public API Specification

org.eclipse.hyades.execution.core
Interface ISession

All Superinterfaces:
IExecutionComponent
All Known Implementing Classes:
SessionImpl, SessionImpl, SessionSkeleton, SessionStub

public interface ISession
extends IExecutionComponent

A session is the abstraction of a connection with a remote node. Sessions are created by the node and are scoped by a Principal. Therefore, a single workbench instance may have many sessions, one for each Principal. Tools access the session in context of a Principal, when a tool is completed with a session it should release it so that the reference count can be decremented. Sessions are the highest level IExecutionComponent on the workbench side.


Field Summary
 
Fields inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
DEAD, INACTIVE, NOT_CONFIGURED, READY, SUSPENDED
 
Method Summary
 void release()
          Release this session so that it can be cleaned up and destroyed if no other tools are using it.
 
Methods inherited from interface org.eclipse.hyades.execution.core.IExecutionComponent
addChild, addExecutionComponentStateChangeListener, fireStateChangeEvent, getChildById, getChildByName, getChildren, getId, getName, getNode, getParent, getState, getType, getVersion, handleMessage, init, removeChild, removeExecutionComponentStateChangeListener, sendMessage, setParent
 

Method Detail

release

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


TPTP 4.4.0 Platform Project
Public API Specification