| 限定符和类型 | 方法和说明 |
|---|---|
protected SerialEventProtocol |
SerialEventProtocol.setEvent(com.fazecast.jSerialComm.SerialPortEvent event) |
| 限定符和类型 | 方法和说明 |
|---|---|
default void |
SerialEventProtocolHandle.dataSetReadyEvent(SerialEventProtocol protocol)
数据准备好事件
|
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.dataSetReadyEvent(SerialEventProtocol protocol) |
default void |
SerialEventProtocolHandle.disconnectedEvent(SerialEventProtocol protocol)
失去连接
|
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.disconnectedEvent(SerialEventProtocol protocol) |
default void |
SerialEventProtocolHandle.errorEvent(SerialEventProtocol protocol)
中断事件
|
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.errorEvent(SerialEventProtocol protocol) |
default Object |
SerialEventProtocolHandle.handle(SerialEventProtocol protocol) |
default void |
SerialEventProtocolHandle.otherEvent(int eventType,
SerialEventProtocol protocol)
其他事件处理
|
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.otherEvent(int eventType,
SerialEventProtocol protocol) |
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.printLogger(SerialEventProtocol protocol,
String event)
打印日志
|
void |
SerialEventProtocolHandle.readEvent(byte[] receivedData,
SerialEventProtocol protocol)
数据读事件
|
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.readEvent(byte[] receivedData,
SerialEventProtocol protocol) |
default void |
SerialEventProtocolHandle.timeoutEvent(SerialEventProtocol protocol)
超时事件
|
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.timeoutEvent(SerialEventProtocol protocol) |
default void |
SerialEventProtocolHandle.writeEvent(SerialEventProtocol protocol) |
void |
SerialEventProtocolHandle.LoggerSerialProtocolHandle.writeEvent(SerialEventProtocol protocol) |
Copyright © 2023. All rights reserved.