|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.esri.core.gps.SerialPortInfo
public class SerialPortInfo

This structure holds serial-port information. Any change made to an instance of this will
not be in effect until the associated SerialPortGPSWatcher is re-started.
Serial port information has the following attributes
portNamebaudRateparitystopBitsdataBits
SerialPortInfo(String, BaudRate, Parity, StopBits, int)| Constructor Summary | |
|---|---|
SerialPortInfo(String portName,
BaudRate baudRate,
Parity parity,
StopBits stopBits,
int dataBits)
Creates an instance of SerialPortInfo. |
|
| Method Summary | |
|---|---|
BaudRate |
getBaudRate()
|
int |
getDataBits()
|
Parity |
getParity()
|
String |
getPortName()
|
StopBits |
getStopBits()
|
void |
setBaudRate(BaudRate baudRate)
Sets baudRate |
void |
setDataBits(int dataBits)
Sets dataBits |
void |
setParity(Parity parity)
Sets parity |
void |
setPortName(String portName)
Sets portName |
void |
setStopBits(StopBits stopBits)
Sets stopBits |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SerialPortInfo(String portName,
BaudRate baudRate,
Parity parity,
StopBits stopBits,
int dataBits)
SerialPortInfo.
portName - portNamebaudRate - baudRateparity - paritystopBits - stopBitsdataBits - dataBits. The range of values for this property is from 5 through 8.| Method Detail |
|---|
public String getPortName()
portNamepublic BaudRate getBaudRate()
baudRatepublic Parity getParity()
paritypublic int getDataBits()
dataBitspublic StopBits getStopBits()
stopBitspublic void setPortName(String portName)
portName
public void setBaudRate(BaudRate baudRate)
baudRate
public void setParity(Parity parity)
parity
public void setStopBits(StopBits stopBits)
stopBits
public void setDataBits(int dataBits)
dataBits
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||