public class RemoteHelper extends Object
| 构造器和说明 |
|---|
RemoteHelper() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
closeChannel(io.netty.channel.Channel channel) |
static String |
exceptionSimpleDesc(Throwable e) |
static String |
getLocalAddress() |
static String |
normalizeHostAddress(InetAddress localHost) |
static String |
parseChannelRemoteAddr(io.netty.channel.Channel channel) |
static String |
parseSocketAddressAddr(SocketAddress socketAddress) |
static SocketAddress |
string2SocketAddress(String addr) |
public static SocketAddress string2SocketAddress(String addr)
public static String parseChannelRemoteAddr(io.netty.channel.Channel channel)
public static String parseSocketAddressAddr(SocketAddress socketAddress)
public static void closeChannel(io.netty.channel.Channel channel)
public static String getLocalAddress()
public static String normalizeHostAddress(InetAddress localHost)
Copyright © 2020. All rights reserved.