water.deploy
Class NodeHost

java.lang.Object
  extended by water.deploy.NodeHost
All Implemented Interfaces:
Node

public class NodeHost
extends java.lang.Object
implements Node

Creates a node on a host.


Constructor Summary
NodeHost(Host host, java.lang.String[] args)
           
 
Method Summary
 Host host()
           
 void inheritIO()
           
 void kill()
           
 void persistIO(java.lang.String outFile, java.lang.String errFile)
           
 void start()
           
 int waitFor()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeHost

public NodeHost(Host host,
                java.lang.String[] args)
Method Detail

host

public Host host()

inheritIO

public void inheritIO()
Specified by:
inheritIO in interface Node

persistIO

public void persistIO(java.lang.String outFile,
                      java.lang.String errFile)
               throws java.io.IOException
Specified by:
persistIO in interface Node
Throws:
java.io.IOException

start

public void start()
Specified by:
start in interface Node

waitFor

public int waitFor()
Specified by:
waitFor in interface Node

kill

public void kill()
Specified by:
kill in interface Node