Interface AFSocketAddress.AFSocketAddressConstructor<T extends AFSocketAddress>
- Type Parameters:
T- The actual subclass.
- Enclosing class:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface protected static interface AFSocketAddress.AFSocketAddressConstructor<T extends AFSocketAddress>
A reference to the constructor of an AFSocketAddress subclass.
- Christian Kohlschütter
newAFSocketAddress@NonNull T newAFSocketAddress
(int port, byte socketAddress, ByteBuffer nativeAddress) throws SocketExceptionConstructs a new AFSocketAddress instance.
port- The port.
socketAddress- The socket address in junixsocket-specific byte-array representation.
nativeAddress- The socket address in system-native representation.
- The instance.
SocketException- on error.