Uses of Enum Class
org.newsclub.net.unix.AFSocketType
-
Uses of AFSocketType in org.newsclub.net.unix
Methods in org.newsclub.net.unix that return AFSocketTypeModifier and TypeMethodDescriptionstatic AFSocketTypeReturns the enum constant of this class with the specified name.static AFSocketType[]AFSocketType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.newsclub.net.unix with parameters of type AFSocketTypeModifier and TypeMethodDescriptionstatic AFUNIXDatagramSocketAFUNIXDatagramSocket.newInstance(AFSocketType socketType) Returns a newAFUNIXDatagramSocketinstance for the given socket type.AFUNIXSocketPair.openDatagram(AFSocketType type) Opens a socket pair of interconnectedDatagramChannels, using the given socket type.abstract AFDatagramChannel<A> AFSelectorProvider.openDatagramChannel(AFSocketType type) Opens aDatagramChannelusing the given socket type.AFUNIXSelectorProvider.openDatagramChannel(AFSocketType type) AFSocketPair<? extends AFDatagramChannel<A>> AFSelectorProvider.openDatagramChannelPair(AFSocketType type) Opens a socket pair of interconnectedDatagramChannels, using the givenAFSocketType.AFUNIXSelectorProvider.openDatagramChannelPair(AFSocketType type) @Nullable StringAFSocketAddress.toSocatAddressString(AFSocketType socketType, AFSocketProtocol socketProtocol) Returns a address string that can be used withsocat'sSOCKET-CONNECT,SOCKET-LISTEN,SOCKET-DATAGRAM, etc., address types, ornullif the address type is not natively supported by this platform.Constructors in org.newsclub.net.unix with parameters of type AFSocketTypeModifierConstructorDescriptionprotectedAFDatagramSocketImpl(AFAddressFamily<@NonNull A> addressFamily, FileDescriptor fd, AFSocketType socketType) Constructs a newAFDatagramSocketImplusing the givenFileDescriptor(or null to create a new one).