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 DatagramSocketAddressprivate final intprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionDatagramSocketAddress(byte[] addr, int scopeId, int port, int receivedAmount, DatagramSocketAddress local) -
Method Summary
Modifier and TypeMethodDescriptionprivate static InetAddressnewAddress(byte[] bytes, int scopeId) intMethods inherited from class 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
-