Top Description Fields Constructors Methods
io.netty.channel.unix

public final Class DatagramSocketAddress

extends InetSocketAddress
Class Inheritance
Imports
java.net.Inet6Address, .InetAddress, .InetSocketAddress, .UnknownHostException

Act as special InetSocketAddress to be able to easily pass all needed data from JNI without the need to create more objects then needed.

Internal usage only!

Field Summary

Modifier and TypeField and Description
private final DatagramSocketAddress
private final int
private static final long

Constructor Summary

AccessConstructor and Description
pack-priv
DatagramSocketAddress(byte[] addr, int scopeId, int port, int receivedAmount, DatagramSocketAddress local)

Method Summary

Modifier and TypeMethod and Description
public DatagramSocketAddress
private static InetAddress
newAddress(byte[] bytes, int scopeId)

public int
Inherited from java.net.InetSocketAddress:
createUnresolvedequalsgetAddressgetHostNamegetHostStringgetPorthashCodeisUnresolvedtoString

Field Detail

localAddressback to summary
private final DatagramSocketAddress localAddress
receivedAmountback to summary
private final int receivedAmount
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.net.InetSocketAddress.serialVersionUID.

Constructor Detail

DatagramSocketAddressback to summary
pack-priv DatagramSocketAddress(byte[] addr, int scopeId, int port, int receivedAmount, DatagramSocketAddress local) throws UnknownHostException

Method Detail

localAddressback to summary
public DatagramSocketAddress localAddress()
newAddressback to summary
private static InetAddress newAddress(byte[] bytes, int scopeId) throws UnknownHostException
receivedAmountback to summary
public int receivedAmount()