Package io.netty.channel.unix
Class NativeInetAddress
- java.lang.Object
-
- io.netty.channel.unix.NativeInetAddress
-
public final class NativeInetAddress extends java.lang.ObjectInternal usage only!
-
-
Field Summary
Fields Modifier and Type Field Description (package private) byte[]addressprivate static byte[]IPV4_MAPPED_IPV6_PREFIX(package private) intscopeId
-
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.InetSocketAddressaddress(byte[] addr, int offset, int len)static voidcopyIpv4MappedIpv6Address(byte[] ipv4, byte[] ipv6)(package private) static intdecodeInt(byte[] addr, int index)static byte[]ipv4MappedIpv6Address(byte[] ipv4)static NativeInetAddressnewInstance(java.net.InetAddress addr)intscopeId()
-
-
-
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)
-
decodeInt
static int decodeInt(byte[] addr, int index)
-
-