public final class UnixChannelUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.net.InetSocketAddress |
computeRemoteAddr(java.net.InetSocketAddress remoteAddr, java.net.InetSocketAddress osRemoteAddr) |
static boolean |
isBufferCopyNeededForWrite(ByteBuf byteBuf)
检查指定的缓冲区是否有内存地址或者是否由n(n <= IOV_MAX)个NIO直接缓冲区组成。
|
public static boolean isBufferCopyNeededForWrite(ByteBuf byteBuf)
public static java.net.InetSocketAddress computeRemoteAddr(java.net.InetSocketAddress remoteAddr, java.net.InetSocketAddress osRemoteAddr)
Copyright © 2008–2018 The Netty Project. All rights reserved.