使用 Netty 向设备发送请求
Send request to Devices using Netty
使用 Netty 连续并在特定时间间隔内向多个物联网设备发送请求并获得响应的最佳方法是什么。
Netty 的 IdleStateHandler 安排在通道一段时间内没有读取或写入数据时发送 IdleStateEvents。对你来说应该是一个很好的起点https://github.com/netty/netty/blob/4.1/handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java
使用 Netty 连续并在特定时间间隔内向多个物联网设备发送请求并获得响应的最佳方法是什么。
Netty 的 IdleStateHandler 安排在通道一段时间内没有读取或写入数据时发送 IdleStateEvents。对你来说应该是一个很好的起点https://github.com/netty/netty/blob/4.1/handler/src/main/java/io/netty/handler/timeout/IdleStateHandler.java