|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.core.SerialPortParameters
public class SerialPortParameters
SerialPortParameters specifies baud, number of data bits, parity, and number of stop bits.
| Constructor Summary | |
|---|---|
SerialPortParameters(int baud,
int dataBits,
int parity,
int stopBits)
SerialPortParameter constructor. |
|
| Method Summary | |
|---|---|
int |
getBaud()
Return baud. |
int |
getDataBits()
Return number of data bits; will be one of DATABITS_5, DATABITS_6, DATABITS_7, or DATABITS_8 as defined in gnu.io.SerialPort. |
int |
getParity()
|
int |
getStopBits()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerialPortParameters(int baud,
int dataBits,
int parity,
int stopBits)
throws gnu.io.UnsupportedCommOperationException
baud - baud ratedataBits - must be one of DATABITS_5, DATABITS_6, DATABITS_7,
or DATABITS_8 as defined in gnu.io.SerialPort.parity - must be one of PARITY_EVEN, PARITY_ODD, PARITY_NONE,
PARITY_MARK, or PARITY_SPACE as defined in gnu.io.SerialPort.stopBits - must be one of STOPBITS_1, STOPBITS_1_5, or
STOPBITS_2 as defined in gnu.io.SerialPort.
gnu.io.UnsupportedCommOperationException| Method Detail |
|---|
public int getBaud()
public int getDataBits()
public int getParity()
public int getStopBits()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||