public static enum RxtxChannelConfig.Databits extends Enum<RxtxChannelConfig.Databits>
Enum Constant and Description |
---|
DATABITS_5
5 data bits will be used for each character (ie.
|
DATABITS_6
6 data bits will be used for each character
|
DATABITS_7
7 data bits will be used for each character (ie.
|
DATABITS_8
8 data bits will be used for each character (ie. binary data)
|
Modifier and Type | Method and Description |
---|---|
int |
value() |
static RxtxChannelConfig.Databits |
valueOf(int value) |
static RxtxChannelConfig.Databits |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RxtxChannelConfig.Databits[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RxtxChannelConfig.Databits DATABITS_5
public static final RxtxChannelConfig.Databits DATABITS_6
public static final RxtxChannelConfig.Databits DATABITS_7
public static final RxtxChannelConfig.Databits DATABITS_8
public static RxtxChannelConfig.Databits[] values()
for (RxtxChannelConfig.Databits c : RxtxChannelConfig.Databits.values()) System.out.println(c);
public static RxtxChannelConfig.Databits valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int value()
public static RxtxChannelConfig.Databits valueOf(int value)
Copyright © 2008–2017 The Netty Project. All rights reserved.