public static class SerialChannel.Configuration extends Object
| Modifier and Type | Field and Description |
|---|---|
protected SerialChannel.DataBits |
dataBits |
protected SerialChannel.FlowControl |
flowControl |
protected SerialChannel.Parity |
parity |
protected boolean |
replaceError |
protected SerialChannel.Speed |
speed |
protected SerialChannel.StopBits |
stopBits |
| Constructor and Description |
|---|
Configuration() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getBytesPerSecond() |
SerialChannel.DataBits |
getDataBits() |
SerialChannel.FlowControl |
getFlowControl() |
float |
getFrameSize() |
SerialChannel.Parity |
getParity() |
SerialChannel.Speed |
getSpeed() |
SerialChannel.StopBits |
getStopBits() |
int |
hashCode() |
boolean |
isReplaceError() |
SerialChannel.Configuration |
setDataBits(SerialChannel.DataBits dataBits) |
SerialChannel.Configuration |
setFlowControl(SerialChannel.FlowControl flowControl) |
SerialChannel.Configuration |
setParity(SerialChannel.Parity parity) |
SerialChannel.Configuration |
setReplaceError(boolean replace) |
SerialChannel.Configuration |
setSpeed(SerialChannel.Speed speed) |
SerialChannel.Configuration |
setStopBits(SerialChannel.StopBits stopBits) |
String |
toString() |
protected SerialChannel.Speed speed
protected SerialChannel.Parity parity
protected SerialChannel.StopBits stopBits
protected SerialChannel.DataBits dataBits
protected SerialChannel.FlowControl flowControl
protected boolean replaceError
public float getFrameSize()
public int getBytesPerSecond()
public SerialChannel.Configuration setDataBits(SerialChannel.DataBits dataBits)
public SerialChannel.Configuration setFlowControl(SerialChannel.FlowControl flowControl)
public SerialChannel.Configuration setParity(SerialChannel.Parity parity)
public SerialChannel.Configuration setSpeed(SerialChannel.Speed speed)
public SerialChannel.Configuration setStopBits(SerialChannel.StopBits stopBits)
public SerialChannel.Configuration setReplaceError(boolean replace)
public SerialChannel.Speed getSpeed()
public SerialChannel.Parity getParity()
public SerialChannel.StopBits getStopBits()
public SerialChannel.DataBits getDataBits()
public SerialChannel.FlowControl getFlowControl()
public boolean isReplaceError()
Copyright © 2015. All rights reserved.