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.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<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 peerName, 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.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.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.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, ByteBuffer nativeAddress, AFAddressFamily<?> af) Creates a new socket address.protectedAFSocketImpl(AFAddressFamily<@NonNull A> addressFamily, FileDescriptor fdObj) Creates a newAFSocketImplinstance.