|
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.tptp.platform.execution.client.core.NodeFactory
A factory object for creating Nodes. Nodes can be specified by either name or InetAddress. Each Node is treated as a singleton and attempts to create a Node that already exists will return the same Node instance that already existed.
| Constructor Summary | |
|---|---|
NodeFactory()
|
|
| Method Summary | |
|---|---|
static INode |
createNode(java.net.InetAddress address)
Create a Node for the suplied InetAddress. |
static INode |
createNode(java.lang.String hostname)
Create a Node for the suplied hostname. |
static INode |
getLocalHost()
Deprecated. - use getLocalHost(User user) |
static INode |
getNode(java.net.InetAddress addr)
Searches the Node list based upon the InetAddress. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NodeFactory()
| Method Detail |
public static INode createNode(java.lang.String hostname)
throws java.net.UnknownHostException
java.net.UnknownHostException
public static INode createNode(java.net.InetAddress address)
throws java.net.UnknownHostException
java.net.UnknownHostException
public static INode getLocalHost()
throws java.net.UnknownHostException
java.net.UnknownHostExceptionpublic static INode getNode(java.net.InetAddress addr)
|
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 | ||||||||||