public class LaserRangefinder
extends java.lang.Object
| Constructor and Description |
|---|
LaserRangefinder() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
java.lang.String |
getPortName() |
void |
open() |
void |
setPortName(java.lang.String portName) |
public void close()
throws java.io.IOException
java.io.IOExceptionpublic java.lang.String getPortName()
public void open()
throws java.io.IOException,
javax.comm.NoSuchPortException,
javax.comm.PortInUseException,
java.util.TooManyListenersException,
javax.comm.UnsupportedCommOperationException
java.io.IOExceptionjavax.comm.NoSuchPortExceptionjavax.comm.PortInUseExceptionjava.util.TooManyListenersExceptionjavax.comm.UnsupportedCommOperationExceptionpublic void setPortName(java.lang.String portName)