org.mbari.siam.operations.utils
Class ResetTurnsCounter

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

public class ResetTurnsCounter
extends PortUtility

Reset compass turns counter on specified node's environmental processor


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.PortUtility
_portNames
 
Fields inherited from class org.mbari.siam.operations.utils.NodeUtility
_log4j, _node, _nodeHost, _nodeURL
 
Constructor Summary
ResetTurnsCounter()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void printUsage()
          Print usage message.
 void processArguments(java.lang.String[] args, int requiredArgs)
          Process command-line arguments.
 void processPort(Node node, java.lang.String portName)
          If service on specified port is Environmental, reset the turns counter to specified value.
 
Methods inherited from class org.mbari.siam.operations.utils.PortUtility
getPortName, multiPortsAllowed, processArguments, processNode
 
Methods inherited from class org.mbari.siam.operations.utils.NodeUtility
getHostName, getNodeURL, processCustomOption, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResetTurnsCounter

public ResetTurnsCounter()
Method Detail

processPort

public void processPort(Node node,
                        java.lang.String portName)
                 throws java.rmi.RemoteException
If service on specified port is Environmental, reset the turns counter to specified value.

Specified by:
processPort in class PortUtility
Throws:
java.rmi.RemoteException

processArguments

public void processArguments(java.lang.String[] args,
                             int requiredArgs)
Process command-line arguments.

Overrides:
processArguments in class PortUtility

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.