public final class UnixChannelUtil
extends java.lang.Object
限定符和类型 | 方法和说明 |
---|---|
static java.net.InetSocketAddress |
computeRemoteAddr(java.net.InetSocketAddress remoteAddr,
java.net.InetSocketAddress osRemoteAddr) |
static boolean |
isBufferCopyNeededForWrite(ByteBuf byteBuf)
Checks if the specified buffer has memory address or is composed of n(n <= IOV_MAX) NIO direct buffers.
|
public static boolean isBufferCopyNeededForWrite(ByteBuf byteBuf)
public static java.net.InetSocketAddress computeRemoteAddr(java.net.InetSocketAddress remoteAddr, java.net.InetSocketAddress osRemoteAddr)