org.mbari.siam.operations.utils
Class PuckUtil
java.lang.Object
org.mbari.siam.operations.utils.PuckUtil
- Direct Known Subclasses:
- PuckRegister
public abstract class PuckUtil
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_log4j
protected static org.apache.log4j.Logger _log4j
_PUCK_DEFAULT_BAUD
public static final int _PUCK_DEFAULT_BAUD
- See Also:
- Constant Field Values
_commPortId
protected gnu.io.CommPortIdentifier _commPortId
_serialPort
protected gnu.io.SerialPort _serialPort
PuckUtil
public PuckUtil()
openLocalSerialPort
protected gnu.io.SerialPort openLocalSerialPort(java.lang.String comPortName)
throws gnu.io.NoSuchPortException,
gnu.io.PortInUseException
- Throws:
gnu.io.NoSuchPortException
gnu.io.PortInUseException
openNVTSerialPort
protected gnu.io.SerialPort openNVTSerialPort(java.lang.String comPortName)
throws java.net.UnknownHostException,
java.io.IOException
- Throws:
java.net.UnknownHostException
java.io.IOException
initSerialPort
protected boolean initSerialPort(java.lang.String comPortName,
int baud_rate)
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.