public final class UnixChannelUtil extends Object
Modifier and Type | Method and Description |
---|---|
static InetSocketAddress |
computeRemoteAddr(InetSocketAddress remoteAddr,
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 InetSocketAddress computeRemoteAddr(InetSocketAddress remoteAddr, InetSocketAddress osRemoteAddr)
Copyright © 2008–2024 The Netty Project. All rights reserved.