Uses of Class
org.newsclub.net.unix.AFAddressFamily
-
Uses of AFAddressFamily in org.newsclub.net.unix
Methods in org.newsclub.net.unix that return AFAddressFamilyModifier and TypeMethodDescriptionprotected final AFAddressFamily<A> AFDatagramSocket.addressFamily()Returns the address family supported by this implementation.AFGenericSocketAddress.addressFamily()Returns the correspondingAFAddressFamily.protected abstract AFAddressFamily<@NonNull A> AFSelectorProvider.addressFamily()Returns the address family supported by this implementation.protected final AFAddressFamily<A> AFServerSocket.addressFamily()Returns the address family supported by this implementation.static AFAddressFamily<AFSYSTEMSocketAddress> AFSYSTEMSocketAddress.addressFamily()Returns the correspondingAFAddressFamily.static AFAddressFamily<AFTIPCSocketAddress> AFTIPCSocketAddress.addressFamily()Returns the correspondingAFAddressFamily.protected AFAddressFamily<@NonNull AFUNIXSocketAddress> AFUNIXSelectorProvider.addressFamily()static AFAddressFamily<AFUNIXSocketAddress> AFUNIXSocketAddress.addressFamily()Returns the correspondingAFAddressFamily.static AFAddressFamily<AFVSOCKSocketAddress> AFVSOCKSocketAddress.addressFamily()Returns the correspondingAFAddressFamily.protected final AFAddressFamily<@NonNull A> AFDatagramSocketImpl.getAddressFamily()Returns the address family supported by this implementation.final AFAddressFamily<?> AFSocketAddress.getAddressFamily()Returns the correspondingAFAddressFamily.static <A extends AFSocketAddress>
AFAddressFamily<A> AFAddressFamily.registerAddressFamily(String juxString, Class<A> addressClass, AFSocketAddressConfig<A> config) Registers an address family.static <A extends AFSocketAddress>
AFAddressFamily<A> AFAddressFamily.registerAddressFamilyImpl(String juxString, AFAddressFamily<A> addressFamily, AFAddressFamilyConfig<A> config) Registers an implementation.Methods in org.newsclub.net.unix with parameters of type AFAddressFamilyModifier and TypeMethodDescriptionprotected static final InetAddressAFSocketAddress.getInetAddress(FileDescriptor fdesc, boolean peerName, AFAddressFamily<?> af) Wraps the socket name/peer name of a file descriptor as anInetAddress.protected final InetAddressAFSocketAddress.getInetAddress(AFAddressFamily<?> af) Wraps an address as anInetAddress.protected static final <A extends AFSocketAddress>
@Nullable AAFSocketAddress.getSocketAddress(FileDescriptor fdesc, boolean requestPeerName, int port, AFAddressFamily<A> af) Gets the socket name/peer name of a file descriptor as anAFSocketAddress.protected static final booleanAFSocketAddress.isSupportedAddress(InetAddress addr, AFAddressFamily<?> af) Checks if the given address is supported by this address family.protected static <A extends AFSocketAddress>
AAFSocketAddress.newDeserializedAFSocketAddress(int port, byte[] socketAddress, org.newsclub.net.unix.pool.ObjectPool.Lease<ByteBuffer> nativeAddress, AFAddressFamily<A> af, AFSocketAddress.AFSocketAddressConstructor<A> constructor) Returns a newAFSocketAddressinstance via deserialization.static <A extends AFSocketAddress>
AFAddressFamily<A> AFAddressFamily.registerAddressFamilyImpl(String juxString, AFAddressFamily<A> addressFamily, AFAddressFamilyConfig<A> config) Registers an implementation.protected static final <A extends AFSocketAddress>
AAFSocketAddress.resolveAddress(byte[] socketAddress, int port, AFAddressFamily<A> af) Resolves a junixsocket-specific byte-array representation of anAFSocketAddressto an actualAFSocketAddressinstance, possibly reusing a cached instance.protected static final <A extends AFSocketAddress>
@NonNull AAFSocketAddress.unwrap(String hostname, int port, AFAddressFamily<A> af) Returns anAFSocketAddressgiven a specialInetAddresshostname that encodes the byte sequence of an AF_UNIX etc. socket address, like those returned byAFSocketAddress.wrapAddress().protected static final <A extends AFSocketAddress>
@NonNull AAFSocketAddress.unwrap(InetAddress address, int port, AFAddressFamily<A> af) Returns anAFSocketAddressgiven a specialInetAddressthat encodes the byte sequence of an AF_UNIX etc. socket address, like those returned byAFSocketAddress.wrapAddress().Constructors in org.newsclub.net.unix with parameters of type AFAddressFamilyModifierConstructorDescriptionprotectedAFDatagramSocketImpl(AFAddressFamily<@NonNull A> addressFamily, FileDescriptor fd, AFSocketType socketType) Constructs a newAFDatagramSocketImplusing the givenFileDescriptor(or null to create a new one).protectedAFSocketAddress(int port, byte[] socketAddress, org.newsclub.net.unix.pool.ObjectPool.Lease<ByteBuffer> nativeAddress, AFAddressFamily<?> af) Creates a new socket address.protectedAFSocketImpl(AFAddressFamily<@NonNull A> addressFamily, FileDescriptor fdObj) Creates a newAFSocketImplinstance.