Package | Description |
---|---|
io.netty.channel.rxtx |
A serial and parallel port communication transport based on RXTX.
|
Modifier and Type | Method and Description |
---|---|
RxtxChannelConfig |
RxtxChannel.config() |
RxtxChannelConfig |
RxtxChannelConfig.setAllocator(ByteBufAllocator allocator) |
RxtxChannelConfig |
RxtxChannelConfig.setAutoClose(boolean autoClose) |
RxtxChannelConfig |
RxtxChannelConfig.setAutoRead(boolean autoRead) |
RxtxChannelConfig |
RxtxChannelConfig.setBaudrate(int baudrate)
Sets the baud rate (ie. bits per second) for communication with the serial device.
|
RxtxChannelConfig |
RxtxChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
RxtxChannelConfig |
RxtxChannelConfig.setDatabits(RxtxChannelConfig.Databits databits)
Sets the number of data bits to use to make up each character sent to the serial
device.
|
RxtxChannelConfig |
RxtxChannelConfig.setDtr(boolean dtr)
Sets whether the serial device supports the Data Terminal Ready signal, used for
flow control
|
RxtxChannelConfig |
RxtxChannelConfig.setMaxMessagesPerRead(int maxMessagesPerRead)
Deprecated.
|
RxtxChannelConfig |
RxtxChannelConfig.setMessageSizeEstimator(MessageSizeEstimator estimator) |
RxtxChannelConfig |
RxtxChannelConfig.setParitybit(RxtxChannelConfig.Paritybit paritybit)
Sets the type of parity bit to be used when communicating with the serial device.
|
RxtxChannelConfig |
RxtxChannelConfig.setReadTimeout(int readTimeout)
Sets the maximal time (in ms) to block while try to read from the serial port.
|
RxtxChannelConfig |
RxtxChannelConfig.setRecvByteBufAllocator(RecvByteBufAllocator allocator) |
RxtxChannelConfig |
RxtxChannelConfig.setRts(boolean rts)
Sets whether the serial device supports the Request To Send signal, used for flow
control
|
RxtxChannelConfig |
RxtxChannelConfig.setStopbits(RxtxChannelConfig.Stopbits stopbits)
Sets the number of stop bits to include at the end of every character to aid the
serial device in synchronising with the data.
|
RxtxChannelConfig |
RxtxChannelConfig.setWaitTimeMillis(int waitTimeMillis)
Sets the time to wait after opening the serial port and before sending it any
configuration information or data.
|
RxtxChannelConfig |
RxtxChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
RxtxChannelConfig |
RxtxChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
RxtxChannelConfig |
RxtxChannelConfig.setWriteBufferWaterMark(WriteBufferWaterMark writeBufferWaterMark) |
RxtxChannelConfig |
RxtxChannelConfig.setWriteSpinCount(int writeSpinCount) |
Copyright © 2008–2017 The Netty Project. All rights reserved.