RxtxChannelConfig Type — netty Architecture
Architecture documentation for the RxtxChannelConfig type/interface in RxtxChannelConfig.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 29912e85_c7eb_f840_b8eb_d5e7004aee92["RxtxChannelConfig"] e44bacc8_8508_4cea_f355_1d8a8899dc98["RxtxChannelConfig.java"] 29912e85_c7eb_f840_b8eb_d5e7004aee92 -->|defined in| e44bacc8_8508_4cea_f355_1d8a8899dc98 style 29912e85_c7eb_f840_b8eb_d5e7004aee92 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannelConfig.java lines 55–310
@Deprecated
public interface RxtxChannelConfig extends ChannelConfig {
enum Stopbits {
/**
* 1 stop bit will be sent at the end of every character
*/
STOPBITS_1(SerialPort.STOPBITS_1),
/**
* 2 stop bits will be sent at the end of every character
*/
STOPBITS_2(SerialPort.STOPBITS_2),
/**
* 1.5 stop bits will be sent at the end of every character
*/
STOPBITS_1_5(SerialPort.STOPBITS_1_5);
private final int value;
Stopbits(int value) {
this.value = value;
}
public int value() {
return value;
}
public static Stopbits valueOf(int value) {
for (Stopbits stopbit : Stopbits.values()) {
if (stopbit.value == value) {
return stopbit;
}
}
throw new IllegalArgumentException("unknown " + Stopbits.class.getSimpleName() + " value: " + value);
}
}
enum Databits {
/**
* 5 data bits will be used for each character (ie. Baudot code)
*/
DATABITS_5(SerialPort.DATABITS_5),
/**
* 6 data bits will be used for each character
*/
DATABITS_6(SerialPort.DATABITS_6),
/**
* 7 data bits will be used for each character (ie. ASCII)
*/
DATABITS_7(SerialPort.DATABITS_7),
/**
* 8 data bits will be used for each character (ie. binary data)
*/
DATABITS_8(SerialPort.DATABITS_8);
private final int value;
Databits(int value) {
this.value = value;
}
public int value() {
return value;
}
public static Databits valueOf(int value) {
for (Databits databit : Databits.values()) {
if (databit.value == value) {
return databit;
}
}
throw new IllegalArgumentException("unknown " + Databits.class.getSimpleName() + " value: " + value);
}
}
enum Paritybit {
/**
* No parity bit will be sent with each data character at all
*/
NONE(SerialPort.PARITY_NONE),
/**
* An odd parity bit will be sent with each data character, ie. will be set
Source
Frequently Asked Questions
What is the RxtxChannelConfig type?
RxtxChannelConfig is a type/interface in the netty codebase, defined in transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannelConfig.java.
Where is RxtxChannelConfig defined?
RxtxChannelConfig is defined in transport-rxtx/src/main/java/io/netty/channel/rxtx/RxtxChannelConfig.java at line 55.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free