Uses of Class
org.newsclub.net.unix.FileDescriptorCast
Package
Description
The junixsocket base implementation, including support for AF_UNIX sockets.
-
Uses of FileDescriptorCast in org.newsclub.net.unix
Modifier and TypeMethodDescriptionstatic FileDescriptorCast
FileDescriptorCast.duplicating
(FileDescriptor fdObj) Creates aFileDescriptorCast
using a duplicate of the given file descriptor.static FileDescriptorCast
FileDescriptorCast.unsafeUsing
(int fd) Creates aFileDescriptorCast
using the given native file descriptor value.static FileDescriptorCast
FileDescriptorCast.using
(FileDescriptor fdObj) Creates aFileDescriptorCast
using the given file descriptor.FileDescriptorCast.withLocalPort
(int port) Registers the given port number as the "local port" for this file descriptor.FileDescriptorCast.withRemotePort
(int port) Registers the given port number as the "remote port" for this file descriptor.