| Package | Description |
|---|---|
| org.vesalainen.comm.channel |
| Modifier and Type | Field and Description |
|---|---|
protected SerialChannel.Speed |
SerialChannel.Configuration.speed |
| Modifier and Type | Method and Description |
|---|---|
SerialChannel.Speed |
SerialChannel.getSpeed() |
SerialChannel.Speed |
SerialChannel.Configuration.getSpeed() |
SerialChannel.Speed |
SerialChannel.Builder.getSpeed() |
static SerialChannel.Speed |
SerialChannel.getSpeed(int speed)
Return the speed
|
static SerialChannel.Speed |
SerialChannel.Speed.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerialChannel.Speed[] |
SerialChannel.Speed.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,SerialChannel.Speed> |
SpeedDetector.configure(List<String> ports,
long timeout,
TimeUnit unit) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpeedDetector.addSpeed(SerialChannel.Speed speed)
Adds configuration candidate
|
static int |
SerialChannel.getSpeed(SerialChannel.Speed speed)
Return the speed
|
SerialChannel.Configuration |
SerialChannel.Configuration.setSpeed(SerialChannel.Speed speed) |
SerialChannel.Builder |
SerialChannel.Builder.setSpeed(SerialChannel.Speed speed) |
| Modifier and Type | Method and Description |
|---|---|
void |
SpeedDetector.addSpeeds(Collection<? extends SerialChannel.Speed> all) |
| Constructor and Description |
|---|
Builder(String port,
SerialChannel.Speed speed) |
Copyright © 2015. All rights reserved.