|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.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
portName
baudRate
parity
stopBits
dataBits
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
- portName
baudRate
- baudRate
parity
- parity
stopBits
- stopBits
dataBits
- dataBits
. The range of values for this property is from 5 through 8.Method Detail |
---|
public String getPortName()
portName
public BaudRate getBaudRate()
baudRate
public Parity getParity()
parity
public int getDataBits()
dataBits
public StopBits getStopBits()
stopBits
public 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 |