- java.lang.Object
- 
- io.netty5.channel.unix.UnixChannelUtil
 
- 
 public final class UnixChannelUtil extends Object 
- 
- 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static InetSocketAddresscomputeRemoteAddr(InetSocketAddress remoteAddr, InetSocketAddress osRemoteAddr)static booleanisBufferCopyNeededForWrite(Buffer buffer)Checks if the specified buffer has memory address or is composed of n(n <= IOV_MAX) NIO direct buffers.
 
- 
- 
- 
Method Detail- 
isBufferCopyNeededForWritepublic static boolean isBufferCopyNeededForWrite(Buffer buffer) Checks if the specified buffer has memory address or is composed of n(n <= IOV_MAX) NIO direct buffers. (We check this because otherwise we need to make it a new direct buffer.)
 - 
computeRemoteAddrpublic static InetSocketAddress computeRemoteAddr(InetSocketAddress remoteAddr, InetSocketAddress osRemoteAddr) 
 
- 
 
-