Uses of Enum Class
org.newsclub.net.unix.AFSocketType
-
Uses of AFSocketType in org.newsclub.net.unix
Modifier and TypeMethodDescriptionstatic AFSocketType
Returns 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.Modifier and TypeMethodDescriptionstatic AFUNIXDatagramSocket
AFUNIXDatagramSocket.newInstance
(AFSocketType socketType) Returns a newAFUNIXDatagramSocket
instance for the given socket type.AFUNIXSocketPair.openDatagram
(AFSocketType type) Opens a socket pair of interconnectedDatagramChannel
s, using the given socket type.abstract AFDatagramChannel
<A> AFSelectorProvider.openDatagramChannel
(AFSocketType type) Opens aDatagramChannel
using the given socket type.AFUNIXSelectorProvider.openDatagramChannel
(AFSocketType type) AFSocketPair
<? extends AFDatagramChannel<A>> AFSelectorProvider.openDatagramChannelPair
(AFSocketType type) Opens a socket pair of interconnectedDatagramChannel
s, using the givenAFSocketType
.AFUNIXSelectorProvider.openDatagramChannelPair
(AFSocketType type) @Nullable String
AFSocketAddress.toSocatAddressString
(AFSocketType socketType, AFSocketProtocol socketProtocol) Returns a address string that can be used withsocat
'sSOCKET-CONNECT
,SOCKET-LISTEN
,SOCKET-DATAGRAM
, etc., address types, ornull
if the address type is not natively supported by this platform.ModifierConstructorDescriptionprotected
AFDatagramSocketImpl
(AFAddressFamily<@NonNull A> addressFamily, FileDescriptor fd, AFSocketType socketType) Constructs a newAFDatagramSocketImpl
using the givenFileDescriptor
(or null to create a new one).