Uses of Class
org.newsclub.net.unix.AFServerSocket
-
Uses of AFServerSocket in org.newsclub.net.unix
Subclasses of AFServerSocket in org.newsclub.net.unixModifier and TypeClassDescriptionclassThe server part of an AF_UNIX domain socket.Methods in org.newsclub.net.unix that return AFServerSocketModifier and TypeMethodDescriptionfinal AFServerSocket<A>AFServerSocket.bindHook(SocketAddressFilter hook) Sets the hook for any subsequent call toServerSocket.bind(SocketAddress)andbind(SocketAddress, int)to be the given function.protected static <A extends AFSocketAddress>
AFServerSocket<A>AFServerSocket.bindOn(AFServerSocket.Constructor<A> instanceSupplier, A addr, boolean deleteOnClose) Returns a newServerSocketthat is bound to the givenAFSocketAddress.protected static <A extends AFSocketAddress>
AFServerSocket<A>AFServerSocket.bindOn(AFServerSocket.Constructor<A> instanceSupplier, AFSocketAddress addr) Returns a newServerSocketthat is bound to the givenAFSocketAddress.final AFServerSocket<A>AFServerSocket.forceBindAddress(SocketAddress endpoint) Forces the address to be used for any subsequent call toServerSocket.bind(SocketAddress)to be the given one, regardless of what'll be passed tobind(SocketAddress, int), but doesn't bind yet.protected static <A extends AFSocketAddress>
AFServerSocket<A>AFServerSocket.forceBindOn(AFServerSocket.Constructor<A> instanceSupplier, A forceAddr) Returns a new, unboundServerSocketthat will always bind to the given address, regardless of any socket address used in a call tobind.AFSocketAddress.newBoundServerSocket()Creates a new server socket bound to this address.AFSocketAddress.newForceBoundServerSocket()Creates a new server socket force-bound to this address (i.e., any additional call toServerSocket.bind(SocketAddress)will ignore the passed address and use this one instead.@NonNull AFServerSocket<A>AFServerSocket.Constructor.newInstance(FileDescriptor fd) Creates a newAFServerSocketinstance.protected static <A extends AFSocketAddress>
AFServerSocket<A>AFServerSocket.newInstance(AFServerSocket.Constructor<A> instanceSupplier) Creates a new AFServerSocket instance, using the given subclass constructor.protected static <A extends AFSocketAddress>
AFServerSocket<A>AFServerSocket.newInstance(AFServerSocket.Constructor<A> instanceSupplier, FileDescriptor fdObj, int localPort, int remotePort) Creates a new AFServerSocket instance, using the given subclass constructor.AFAddressFamily.newServerSocket()Creates a new, unconnected, unbound server socket compatible with this socket address.final AFServerSocket<A>AFServerSocketChannel.socket()Methods in org.newsclub.net.unix that return types with arguments of type AFServerSocketModifier and TypeMethodDescriptionprotected abstract Class<? extends AFServerSocket<A>>AFAddressFamilyConfig.serverSocketClass()Returns the implementation'sServerSocketclass.Constructors in org.newsclub.net.unix with parameters of type AFServerSocketModifierConstructorDescriptionprotectedAFServerSocketChannel(AFServerSocket<A> socket, AFSelectorProvider<A> sp) Creates a newAFServerSocketChannelinstance.