org.eclipse.hyades.execution.core
Interface INode
- public interface INode
A INode instance identifies a physical entity on the network. At the
most abstract level, INodes are named entities you can create a ISession
with. Depending upon the network communication mechanism, the INode is
extended to capture the details of the communication mechanism.
- Version:
- 0.0.2
getName
public String getName()
- Gets the name of the INode.
- Returns:
- the name
connect
public ISession connect(String daemonType,
Principal principal)
- Open a session with the daemon.
The specifics of this method are currently unresolved. It is expected
that we will add an IConnection interface that will probably replace
this method. Whatever methods take the place of this method are
expected to throw a number of exception types.
RKD: We need to specialize Principal to handle logins automatically
within the framework.
- Parameters:
daemonType
- UNRESOLVED - it's unclear if this is the right place
for this extension point.principal
- A specialized Principal object for authentication and
login.- Returns:
- an ISession on this INode