org.mbari.siam.operations.utils
Class WakeupNode

java.lang.Object
  extended by org.mbari.siam.operations.utils.NodeUtility
      extended by org.mbari.siam.operations.utils.WakeupNode

public class WakeupNode
extends NodeUtility

Wakeup specified node(s), by invoking the Node.wakeupNode() or Node.wakeupNodes() method on the specified node.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.operations.utils.NodeUtility
NodeUtility.InvalidOption
 
Field Summary
 
Fields inherited from class org.mbari.siam.operations.utils.NodeUtility
_log4j, _node, _nodeHost, _nodeURL
 
Constructor Summary
WakeupNode()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void printUsage()
          Print usage message.
 void processCustomOption(java.lang.String[] args, int index)
          Trailing arguments specify nodes to be awakened.
 void processNode(Node node)
          Wakeup specified subnodes, using specified node.
 
Methods inherited from class org.mbari.siam.operations.utils.NodeUtility
getHostName, getNodeURL, processArguments, processArguments, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WakeupNode

public WakeupNode()
Method Detail

main

public static void main(java.lang.String[] args)

processCustomOption

public void processCustomOption(java.lang.String[] args,
                                int index)
                         throws NodeUtility.InvalidOption
Trailing arguments specify nodes to be awakened.

Overrides:
processCustomOption in class NodeUtility
Throws:
NodeUtility.InvalidOption

printUsage

public void printUsage()
Print usage message.

Specified by:
printUsage in class NodeUtility

processNode

public void processNode(Node node)
Wakeup specified subnodes, using specified node. If no subnodes have been specified, wake up all of 'em.

Specified by:
processNode in class NodeUtility


Copyright © 2003 MBARI.

The Monterey Bay Aquarium Research Institute (MBARI) provides this documentation and code "as is", with no warranty, express or implied, of its quality or consistency. It is provided without support and without obligation on the part of MBARI to assist in its use, correction, modification, or enhancement.