public final class TcpDeviceSessionNettyUtils extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static Device |
device(io.netty.channel.Channel channel) |
static String |
deviceProtocolType(io.netty.channel.Channel channel) |
static String |
deviceRemoteAddress(io.netty.channel.Channel channel) |
static TcpDeviceSession |
deviceSession(io.netty.channel.Channel channel) |
static void |
setDevice(io.netty.channel.Channel channel,
Device device) |
static void |
setDeviceProtocolType(io.netty.channel.Channel channel,
String protocolType) |
static void |
setDeviceRemoteAddress(io.netty.channel.Channel channel,
String remoteAddress) |
static void |
setDeviceSession(io.netty.channel.Channel channel,
TcpDeviceSession tcpDeviceSession) |
public static void setDevice(io.netty.channel.Channel channel,
Device device)
public static Device device(io.netty.channel.Channel channel)
public static void setDeviceSession(io.netty.channel.Channel channel,
TcpDeviceSession tcpDeviceSession)
public static TcpDeviceSession deviceSession(io.netty.channel.Channel channel)
public static void setDeviceRemoteAddress(io.netty.channel.Channel channel,
String remoteAddress)
public static String deviceRemoteAddress(io.netty.channel.Channel channel)
public static void setDeviceProtocolType(io.netty.channel.Channel channel,
String protocolType)
public static String deviceProtocolType(io.netty.channel.Channel channel)
Copyright © 2020. All rights reserved.