| 程序包 | 说明 |
|---|---|
| com.github.cm.heclouds.adapter.protocolhub.tcp.session |
| 限定符和类型 | 方法和说明 |
|---|---|
TcpDeviceSession |
TcpDeviceSession.Builder.build() |
static TcpDeviceSession |
TcpDeviceSessionManager.createDeviceSession(String productId,
String deviceName,
io.netty.channel.Channel channel)
创建设备连接Session
|
static TcpDeviceSession |
TcpDeviceSessionNettyUtils.deviceSession(io.netty.channel.Channel channel) |
static TcpDeviceSession |
TcpDeviceSessionManager.getDeviceSession(String productId,
String deviceName)
获取设备连接Session
|
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
TcpDeviceSessionManager.handleConnectionLost(TcpDeviceSession deviceSession)
连接断开情况处理
|
static void |
TcpDeviceSessionManager.putDeviceSession(TcpDeviceSession deviceSession)
放入设备连接Session
|
static void |
TcpDeviceSessionNettyUtils.setDeviceSession(io.netty.channel.Channel channel,
TcpDeviceSession tcpDeviceSession) |
Copyright © 2020. All rights reserved.