Uses of Class
org.newsclub.net.unix.AFSocket
-
Uses of AFSocket in org.newsclub.net.unix
Subclasses of AFSocket in org.newsclub.net.unixModifier and TypeClassDescriptionfinal classImplementation of an AF_UNIX domain socket.Methods in org.newsclub.net.unix that return AFSocketModifier and TypeMethodDescriptionAFServerSocket.accept()Connect to the socket at the given address.AFSocket.connectHook(SocketAddressFilter hook) Sets the hook for any subsequent call toconnect(SocketAddress)orconnect(SocketAddress, int)to be the given function.static final <A extends AFSocketAddress>
AFSocket<?> AFSocket.connectTo(@NonNull A addr) Creates a newAFSocketand connects it to the givenAFSocketAddressusing the default implementation suited for that address type.protected static final <A extends AFSocketAddress>
@NonNull AFSocket<A> AFSocket.connectTo(AFSocket.Constructor<A> constr, A addr) Creates a newAFSocketand connects it to the givenAFSocketAddress.AFSocket.forceConnectAddress(SocketAddress endpoint) Forces the address to be used for any subsequent call toconnect(SocketAddress)to be the given one, regardless of what'll be passed there.AFSocketChannel.getAFSocket()Returns the correspondingAFSocket.AFSocket<?> AFSocketAddress.newConnectedSocket()Creates a new socket connected to this address.AFSocket.Constructor.newInstance(FileDescriptor fdObj, AFSocketFactory<A> factory) Constructs a newAFSocketsubclass instance.protected static final <A extends AFSocketAddress>
AFSocket<A> AFSocket.newInstance(AFSocket.Constructor<A> constr, AFSocketFactory<A> factory) Creates a new, unboundAFSocket.AFSocketChannel.AFSocketSupplier.newInstance()Returns a newAFSocketinstance.AFSocket<?> AFAddressFamily.newSocket()Creates a new, unconnected, unbound socket compatible with this socket address.AFSelectorProvider.newSocket()Constructs a new socket.AFServerSocket.newSocketInstance()Returns a newAFSocketinstance.AFSocketChannel.socket()Methods in org.newsclub.net.unix that return types with arguments of type AFSocketModifier and TypeMethodDescriptionAFAddressFamilyConfig.socketClass()Returns the implementation'sSocketclass.Constructors in org.newsclub.net.unix with parameters of type AFSocketModifierConstructorDescriptionprotectedAFSocketChannel(AFSocket<A> socket, AFSelectorProvider<A> sp) Creates a new socket channel for the given socket, using the givenSelectorProvider.