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)
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)
Copyright © 2008–2018 The Netty Project. All rights reserved.