Uses of Class
org.newsclub.net.unix.AFSocketAddress
-
Uses of AFSocketAddress in org.newsclub.net.unix
Classes in org.newsclub.net.unix with type parameters of type AFSocketAddressModifier and TypeClassDescriptionfinal classAFAddressFamily<A extends AFSocketAddress>Describes an address family supported by junixsocket.classAFAddressFamilyConfig<A extends AFSocketAddress>The implementation-specifics for a given address family implementation.classAFDatagramChannel<A extends AFSocketAddress>ADatagramChannelimplementation that works with junixsocket.classAFDatagramSocket<A extends AFSocketAddress>ADatagramSocketimplementation that works with junixsocket.static interfaceAFDatagramSocket.Constructor<A extends AFSocketAddress>A reference to the constructor of anAFDatagramSocketsubclass.classAFDatagramSocketImpl<A extends AFSocketAddress>ADatagramSocketImplimplemented by junixsocket.classAFSelectorProvider<A extends AFSocketAddress>Service-provider class for junixsocket selectors and selectable channels.classAFServerSocket<A extends AFSocketAddress>The server part of a junixsocket socket.static interfaceAFServerSocket.Constructor<A extends AFSocketAddress>The constructor of the concrete subclass.classAFServerSocketChannel<A extends AFSocketAddress>A selectable channel for stream-oriented listening sockets.interfaceAFServerSocketConnector<A extends AFSocketAddress,T extends AFSocketAddress> Some connector that is able to createAFServerSockets bound to a givenAFSocketAddress.interfaceAFServerSocketConnector<A extends AFSocketAddress,T extends AFSocketAddress> Some connector that is able to createAFServerSockets bound to a givenAFSocketAddress.classAFSocket<A extends AFSocketAddress>junixsocket's base implementation of aSocket.static interfaceAFSocket.Constructor<A extends AFSocketAddress>The reference to the constructor of anAFSocketsubclass.protected static interfaceA reference to the constructor of an AFSocketAddress subclass.classAFSocketAddressConfig<A extends AFSocketAddress>The implementation-specifics for a givenAFSocketAddresssubclass implementation.interfaceAFSocketAddressFromHostname<A extends AFSocketAddress>Helps converting an internet "hostname" to anAFSocketAddress.classAFSocketChannel<A extends AFSocketAddress>A selectable channel for stream-oriented connecting sockets.protected static interfaceAFSocketChannel.AFSocketSupplier<A extends AFSocketAddress>A reference to a method that provides anAFSocketinstance.interfaceAFSocketConnector<A extends AFSocketAddress,T extends AFSocketAddress> Some connector that is able to connect to a givenAFSocketAddress.interfaceAFSocketConnector<A extends AFSocketAddress,T extends AFSocketAddress> Some connector that is able to connect to a givenAFSocketAddress.classAFSocketFactory<A extends AFSocketAddress>The base for a SocketFactory that connects to UNIX sockets.classAFSocketImpl<A extends AFSocketAddress>junixsocket-basedSocketImpl.interfaceAFSocketImplExtensions<A extends AFSocketAddress>Placeholder for protocol-specific code that resides in the native library.Subclasses of AFSocketAddress in org.newsclub.net.unixModifier and TypeClassDescriptionfinal classAnAFSocketAddressfor unknown socket types.final classAnAFSocketAddressfor AF_SYSTEM sockets.final classAnAFSocketAddressfor TIPC sockets.final classDescribes anInetSocketAddressthat actually uses AF_UNIX sockets instead of AF_INET.final classAnAFSocketAddressfor VSOCK sockets.Methods in org.newsclub.net.unix with type parameters of type AFSocketAddressModifier and TypeMethodDescriptionprotected 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.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.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.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.static <A extends AFSocketAddress>
AAFSocketAddress.mapOrFail(SocketAddress addr, Class<A> targetAddressClass) Maps the given address to a specificAFSocketAddresstype.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.protected static final <A extends AFSocketAddress>
AFDatagramSocket<A> AFDatagramSocket.newInstance(AFDatagramSocket.Constructor<A> constructor) Returns a newAFDatagramSocketinstance.protected static final <A extends AFSocketAddress>
AFDatagramSocket<A> AFDatagramSocket.newInstance(AFDatagramSocket.Constructor<A> constructor, FileDescriptor fdObj, int localPort, int remotePort) Creates a newAFDatagramSocket.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.protected static final <A extends AFSocketAddress>
AFSocket<A> AFSocket.newInstance(AFSocket.Constructor<A> constr, AFSocketFactory<A> factory) Creates a new, unboundAFSocket.protected static final <A extends AFSocketAddress>
AFSocketChannel<A> AFSocketChannel.open(AFSocketChannel.AFSocketSupplier<A> supplier) Opens a socket channel.protected static final <A extends AFSocketAddress>
AFSocketChannel<A> AFSocketChannel.open(AFSocketChannel.AFSocketSupplier<A> supplier, SocketAddress remote) Opens a socket channel, connecting to the given socket address.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.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 bywrapAddress().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 bywrapAddress().Methods in org.newsclub.net.unix that return AFSocketAddressModifier and TypeMethodDescriptionstatic AFSocketAddressAFSocketAddress.mapOrFail(SocketAddress addr) Maps the given address to anAFSocketAddress.static AFSocketAddressTries to parse the given URI and return a correspondingAFSocketAddressfor it.static AFSocketAddressTries to parse the given URI and return a correspondingAFSocketAddressfor it.Methods in org.newsclub.net.unix that return types with arguments of type AFSocketAddressModifier and TypeMethodDescriptionprotected final Class<? extends AFSocketAddress> AFDatagramSocket.socketAddressClass()Returns theAFSocketAddresstype supported by this socket.protected final Class<? extends AFSocketAddress> AFSocket.socketAddressClass()Returns theAFSocketAddresstype supported by this socket.Methods in org.newsclub.net.unix with parameters of type AFSocketAddressModifier and TypeMethodDescriptionprotected static <A extends AFSocketAddress>
AFServerSocket<A> AFServerSocket.bindOn(AFServerSocket.Constructor<A> instanceSupplier, AFSocketAddress addr) Returns a newServerSocketthat is bound to the givenAFSocketAddress.protected SocketAFSocketFactory.FixedAddressSocketFactory.connectTo(AFSocketAddress addr) booleanAFSocketAddress.covers(AFSocketAddress other) Checks if the given address could cover another address.booleanAFVSOCKSocketAddress.covers(AFSocketAddress covered) Checks if the given address could cover another address.Method parameters in org.newsclub.net.unix with type arguments of type AFSocketAddressModifier and TypeMethodDescriptionstatic booleanAFSocketAddress.canMap(SocketAddress addr, Class<? extends AFSocketAddress> targetAddressClass) Checks if the givenSocketAddresscan be mapped to a specificAFSocketAddresssubclass.Constructor parameters in org.newsclub.net.unix with type arguments of type AFSocketAddressModifierConstructorDescriptionprotectedAFSocketFactory(Class<? extends AFSocketAddress> socketAddressClass) Creates a new socket factory instance.