org.mbari.siam.operations.utils
Class PowerUpPort

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.PowerUpPort

public class PowerUpPort
extends PortUtility

Power up a power with a specified current limit and enable the communications for RS-232


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
PowerUpPort()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void printUsage()
          Print usage message.
 void processCustomOption(java.lang.String[] args, int index)
          Get the current limit for this port.
 void processPort(Node node, java.lang.String portName)
          Do application-specific processing of specified port.
 
Methods inherited from class org.mbari.siam.operations.utils.PortUtility
getPortName, multiPortsAllowed, processArguments, processArguments, processNode
 
Methods inherited from class org.mbari.siam.operations.utils.NodeUtility
getHostName, getNodeURL, run
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PowerUpPort

public PowerUpPort()
Method Detail

main

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

processCustomOption

public void processCustomOption(java.lang.String[] args,
                                int index)
                         throws NodeUtility.InvalidOption
Get the current limit for this port.

Overrides:
processCustomOption in class NodeUtility
Throws:
NodeUtility.InvalidOption

printUsage

public void printUsage()
Print usage message.

Specified by:
printUsage in class NodeUtility

processPort

public void processPort(Node node,
                        java.lang.String portName)
                 throws java.rmi.RemoteException
Description copied from class: PortUtility
Do application-specific processing of specified port.

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


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.