org.mbari.siam.operations.utils
Class MonitorStreams
java.lang.Object
org.mbari.siam.operations.utils.NodeUtility
org.mbari.siam.operations.utils.MonitorStreams
public class MonitorStreams
- extends NodeUtility
Monitor one or more Instrument data streams.
Based on GetLastSample
- Author:
- Bob Herlien
|
Method Summary |
void |
getNode(java.lang.String[] args)
Get node proxy |
static void |
main(java.lang.String[] args)
|
void |
printUsage()
Print usage message. |
void |
processArguments(java.lang.String[] args)
Process command line options. |
void |
processNode()
Run forever, displaying data from specified port(s) |
void |
processNode(Node node)
Do application-specific processing of node. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_delayMs
protected int _delayMs
_instruments
protected java.util.Vector _instruments
_dateFormatter
protected java.text.SimpleDateFormat _dateFormatter
_keepGoing
protected boolean _keepGoing
MonitorStreams
public MonitorStreams()
main
public static void main(java.lang.String[] args)
getNode
public void getNode(java.lang.String[] args)
- Get node proxy
processArguments
public void processArguments(java.lang.String[] args)
- Process command line options. The first command line argument is always the
node server's URL or hostname.
- Overrides:
processArguments in class NodeUtility
printUsage
public void printUsage()
- Print usage message.
- Specified by:
printUsage in class NodeUtility
processNode
public void processNode()
throws java.lang.Exception
- Run forever, displaying data from specified port(s)
- Throws:
java.lang.Exception
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
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.