Uses of Class
org.newsclub.net.unix.FileDescriptorCast
-
Uses of FileDescriptorCast in org.newsclub.net.unix
Methods in org.newsclub.net.unix that return FileDescriptorCastModifier and TypeMethodDescriptionstatic FileDescriptorCastFileDescriptorCast.unsafeUsing(int fd) Creates aFileDescriptorCastusing the given native file descriptor value.static FileDescriptorCastFileDescriptorCast.using(FileDescriptor fdObj) Creates aFileDescriptorCastusing 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.