|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.hyades.execution.local.NodeImpl
Node implementation for the execution framework, now supports the ability to connect to a connect given a connection specifier.
| Field Summary | |
|---|---|
org.eclipse.hyades.internal.execution.local.control.Node |
node
The underlying node that retains the connection |
| Constructor Summary | |
|---|---|
NodeImpl(java.lang.String name)
Constructs a node implementation given the specified name |
|
| Method Summary | |
|---|---|
ISession |
connect(ConnectionSpecifier specifier)
Connects to the node using this connection specifier |
ISession |
connect(java.lang.String daemonType,
java.security.Principal principal)
Open a session with the daemon. |
ISession |
connect(java.lang.String daemonType,
java.security.Principal principal,
int iterations)
|
org.eclipse.hyades.internal.execution.local.control.Node |
connectUsingLegacyMethod(java.lang.String daemonType,
java.security.Principal principal)
Obtains and connects to node using the legacy method (does not support secure connections) |
IFileManager |
getFileManager()
Retrieves the file manager associated with this node |
java.lang.String |
getName()
Gets the name of the INode. |
org.eclipse.hyades.internal.execution.local.control.Node |
getUnderlyingNode()
Returns the underlying node. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public org.eclipse.hyades.internal.execution.local.control.Node node
| Constructor Detail |
public NodeImpl(java.lang.String name)
| Method Detail |
public ISession connect(ConnectionSpecifier specifier)
throws UnknownDaemonException,
DaemonConnectException,
java.net.UnknownHostException
connect in interface INodeExtendedspecifier - the specifier used for connection purposes, uniquely
identifies an agent controller instance, only the port is read
currently, the host is specified using the node's name at
construction time, the host for this node is maintained
immutable
UnknownDaemonException
DaemonConnectException
java.net.UnknownHostException
public ISession connect(java.lang.String daemonType,
java.security.Principal principal)
throws UnknownDaemonException,
DaemonConnectException,
java.net.UnknownHostException
INode
connect in interface INodedaemonType - UNRESOLVED - it's unclear if this is the right place
for this extension point.principal - A specialized Principal object for authentication and
login.
UnknownDaemonException
DaemonConnectException
java.net.UnknownHostException
public ISession connect(java.lang.String daemonType,
java.security.Principal principal,
int iterations)
throws UnknownDaemonException,
DaemonConnectException,
java.net.UnknownHostException
UnknownDaemonException
DaemonConnectException
java.net.UnknownHostException
public org.eclipse.hyades.internal.execution.local.control.Node connectUsingLegacyMethod(java.lang.String daemonType,
java.security.Principal principal)
throws UnknownDaemonException,
DaemonConnectException,
java.net.UnknownHostException
daemonType - the port to connect toprincipal - the security principal to use
java.lang.Exception
UnknownDaemonException
DaemonConnectException
java.net.UnknownHostExceptionpublic IFileManager getFileManager()
public java.lang.String getName()
INode
getName in interface INodepublic org.eclipse.hyades.internal.execution.local.control.Node getUnderlyingNode()
|
TPTP 4.4.0 Platform Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||