org.mbari.siam.core
Class NodeLinkCallback

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

public class NodeLinkCallback
extends NodeUtility

Notifies NodeService of shore link connect/disconnect.


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
NodeLinkCallback()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void printUsage()
          Print usage message.
 void processCustomOption(java.lang.String[] args, int index)
          Process application-specific option.
 void processNode(Node node)
          Get and print node status.
 
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

NodeLinkCallback

public NodeLinkCallback()
Method Detail

processCustomOption

public void processCustomOption(java.lang.String[] args,
                                int index)
                         throws NodeUtility.InvalidOption
Description copied from class: NodeUtility
Process application-specific option.

Overrides:
processCustomOption in class NodeUtility
Throws:
NodeUtility.InvalidOption

processNode

public void processNode(Node node)
                 throws java.lang.Exception
Get and print node status.

Specified by:
processNode in class NodeUtility
Throws:
java.lang.Exception

printUsage

public void printUsage()
Print usage message.

Specified by:
printUsage in class NodeUtility

main

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


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.