Module org.newsclub.net.unix
Package org.newsclub.net.unix
Interface AFDatagramSocket.Constructor<A extends AFSocketAddress>
- Type Parameters:
A
- The concreteAFSocketAddress
that is supported by this type.
- Enclosing class:
AFDatagramSocket<A extends AFSocketAddress>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public static interface AFDatagramSocket.Constructor<A extends AFSocketAddress>
A reference to the constructor of an
AFDatagramSocket
subclass.-
Method Summary
-
Method Details
-
newSocket
Constructs a newDatagramSocket
instance.- Parameters:
fd
- The file descriptor.- Returns:
- The new instance.
- Throws:
IOException
- on error.
-