Package io.netty.channel.unix
Class DatagramSocketAddress
java.lang.Object
java.net.SocketAddress
java.net.InetSocketAddress
io.netty.channel.unix.DatagramSocketAddress
- All Implemented Interfaces:
Serializable
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!
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DatagramSocketAddress
private final int
private static final long
-
Constructor Summary
ConstructorsConstructorDescriptionDatagramSocketAddress
(byte[] addr, int scopeId, int port, int receivedAmount, DatagramSocketAddress local) -
Method Summary
Modifier and TypeMethodDescriptionprivate static InetAddress
newAddress
(byte[] bytes, int scopeId) int
Methods inherited from class java.net.InetSocketAddress
createUnresolved, equals, getAddress, getHostName, getHostString, getPort, hashCode, isUnresolved, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
receivedAmount
private final int receivedAmount -
localAddress
-
-
Constructor Details
-
DatagramSocketAddress
DatagramSocketAddress(byte[] addr, int scopeId, int port, int receivedAmount, DatagramSocketAddress local) throws UnknownHostException - Throws:
UnknownHostException
-
-
Method Details
-
localAddress
-
receivedAmount
public int receivedAmount() -
newAddress
- Throws:
UnknownHostException
-