Package io.netty.channel.unix
Class NativeInetAddress
- java.lang.Object
-
- io.netty.channel.unix.NativeInetAddress
-
public final class NativeInetAddress extends java.lang.Object
Internal usage only!
-
-
Constructor Summary
Constructors Constructor Description NativeInetAddress(byte[] address)
NativeInetAddress(byte[] address, int scopeId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
address()
static java.net.InetSocketAddress
address(byte[] addr, int offset, int len)
static void
copyIpv4MappedIpv6Address(byte[] ipv4, byte[] ipv6)
static byte[]
ipv4MappedIpv6Address(byte[] ipv4)
static NativeInetAddress
newInstance(java.net.InetAddress addr)
int
scopeId()
-
-
-
Method Detail
-
newInstance
public static NativeInetAddress newInstance(java.net.InetAddress addr)
-
address
public byte[] address()
-
scopeId
public int scopeId()
-
ipv4MappedIpv6Address
public static byte[] ipv4MappedIpv6Address(byte[] ipv4)
-
copyIpv4MappedIpv6Address
public static void copyIpv4MappedIpv6Address(byte[] ipv4, byte[] ipv6)
-
address
public static java.net.InetSocketAddress address(byte[] addr, int offset, int len)
-
-