org.mbari.siam.operations.utils
Class KillBIN

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

public class KillBIN
extends NodeUtility

Shut down the specified SIAM node and alternatively halt the controller after exiting. Also includes option to enter safe mode, notify parent, etc.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mbari.siam.operations.utils.NodeUtility
NodeUtility.InvalidOption
 
Field Summary
static boolean _enableBackupsDflt
           
static boolean _enableHaltDflt
           
static boolean _enableNotifyDflt
           
static boolean _enableRecursionDflt
           
static boolean _enableSafemodeDflt
           
static int _haltDelaySecDflt
           
static int _quitDelaySecDflt
           
 
Fields inherited from class org.mbari.siam.operations.utils.NodeUtility
_log4j, _node, _nodeHost, _nodeURL
 
Constructor Summary
KillBIN()
           
 
Method Summary
 void exitError(java.lang.String msg, int errorCode)
           
static void main(java.lang.String[] args)
           
 void printUsage()
          Print application-specific usage message to stdout.
 void processCustomOption(java.lang.String[] args, int index)
          No custom options for this application.
 void processNode(Node node)
          Do application-specific processing of node.
 void showConfig()
           
 
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
 

Field Detail

_enableSafemodeDflt

public static boolean _enableSafemodeDflt

_enableHaltDflt

public static final boolean _enableHaltDflt
See Also:
Constant Field Values

_enableBackupsDflt

public static final boolean _enableBackupsDflt
See Also:
Constant Field Values

_enableNotifyDflt

public static final boolean _enableNotifyDflt
See Also:
Constant Field Values

_enableRecursionDflt

public static final boolean _enableRecursionDflt
See Also:
Constant Field Values

_quitDelaySecDflt

public static final int _quitDelaySecDflt
See Also:
Constant Field Values

_haltDelaySecDflt

public static final int _haltDelaySecDflt
See Also:
Constant Field Values
Constructor Detail

KillBIN

public KillBIN()
Method Detail

printUsage

public void printUsage()
Description copied from class: NodeUtility
Print application-specific usage message to stdout.

Specified by:
printUsage in class NodeUtility

showConfig

public void showConfig()

processNode

public void processNode(Node node)
                 throws java.lang.Exception
Description copied from class: NodeUtility
Do application-specific processing of node.

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

exitError

public void exitError(java.lang.String msg,
                      int errorCode)

processCustomOption

public void processCustomOption(java.lang.String[] args,
                                int index)
                         throws NodeUtility.InvalidOption
No custom options for this application.

Overrides:
processCustomOption in class NodeUtility
Throws:
NodeUtility.InvalidOption

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.