- java.lang.Object
-
- io.netty5.channel.unix.FileDescriptor
-
- io.netty5.channel.unix.Socket
-
- io.netty5.channel.epoll.LinuxSocket
-
@UnstableApi public final class LinuxSocket extends Socket
A socket which provides access Linux native methods.
-
-
Field Summary
-
Fields inherited from class io.netty5.channel.unix.Socket
ipv6, UDS_SUN_PATH_SIZE
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LinuxSocket
newDatagramSocket(ProtocolFamily family)
static LinuxSocket
newSocket(ProtocolFamily family)
static LinuxSocket
newSocketDgram()
static LinuxSocket
newSocketDgram(boolean ipv6)
static LinuxSocket
newSocketDgram(ProtocolFamily family)
static LinuxSocket
newSocketDomain()
static LinuxSocket
newSocketDomainDgram()
static LinuxSocket
newSocketStream()
static LinuxSocket
newSocketStream(boolean ipv6)
static LinuxSocket
newSocketStream(ProtocolFamily protocol)
-
Methods inherited from class io.netty5.channel.unix.Socket
accept, bind, connect, disconnect, finishConnect, getIntOpt, getRawOpt, getReceiveBufferSize, getSendBufferSize, getSoError, getSoLinger, getTrafficClass, initialize, isBroadcast, isInputShutdown, isIPv6Preferred, isKeepAlive, isOutputShutdown, isReuseAddress, isReusePort, isShutdown, isTcpNoDelay, listen, localAddress, newSocketDgram0, newSocketDgram0, newSocketDgram0, newSocketDomain0, newSocketDomainDgram0, newSocketStream0, newSocketStream0, newSocketStream0, protocolFamily, recvFd, recvFrom, recvFromAddress, recvFromAddressDomainSocket, recvFromDomainSocket, remoteAddress, sendFd, sendTo, sendTo, sendToAddress, sendToAddress, sendToAddressDomainSocket, sendToAddresses, sendToAddresses, sendToAddressesDomainSocket, sendToDomainSocket, setBroadcast, setIntOpt, setKeepAlive, setRawOpt, setReceiveBufferSize, setReuseAddress, setReusePort, setSendBufferSize, setSoLinger, setTcpNoDelay, setTrafficClass, shouldUseIpv6, shutdown, shutdown, toString, useIpv6
-
Methods inherited from class io.netty5.channel.unix.FileDescriptor
close, equals, from, from, hashCode, intValue, isOpen, markClosed, pipe, read, readAddress, write, writeAddress, writev, writevAddresses
-
-
-
-
Method Detail
-
newDatagramSocket
public static LinuxSocket newDatagramSocket(ProtocolFamily family)
-
newSocket
public static LinuxSocket newSocket(ProtocolFamily family)
-
newSocketStream
public static LinuxSocket newSocketStream(boolean ipv6)
-
newSocketStream
public static LinuxSocket newSocketStream(ProtocolFamily protocol)
-
newSocketStream
public static LinuxSocket newSocketStream()
-
newSocketDgram
public static LinuxSocket newSocketDgram(boolean ipv6)
-
newSocketDgram
public static LinuxSocket newSocketDgram(ProtocolFamily family)
-
newSocketDgram
public static LinuxSocket newSocketDgram()
-
newSocketDomain
public static LinuxSocket newSocketDomain()
-
newSocketDomainDgram
public static LinuxSocket newSocketDomainDgram()
-
-