NIOPosix
import NIOPosix
import NIOPosix
enum NIOThreadPoolError
Errors that may be thrown when executing work on a NIOThreadPool
struct NIOConnectionError
A representation of all the errors that happened during an attempt to connect to a given host and port.
struct NIOFcntlFailedError
NIOFcntlFailedError
indicates that NIO was unable to perform an operation on a socket.
struct NonBlockingFileIO
NonBlockingFileIO
is a helper that allows you to read files without blocking the calling thread.
struct SingleConnectionFailure
An error that occurred during connection to a given target.
struct UnixDomainSocketPathWrongType
The requested UDS path exists and has wrong type (not a socket).
class ClientBootstrap
A ClientBootstrap
is an easy way to bootstrap a SocketChannel
when creating network clients.
class DatagramBootstrap
A DatagramBootstrap
is an easy way to bootstrap a DatagramChannel
when creating datagram clients and servers.
class MultiThreadedEventLoopGroup
An EventLoopGroup
which will create multiple EventLoop
s, each tied to its own NIOThread
.
class NIOPipeBootstrap
A NIOPipeBootstrap
is an easy way to bootstrap a PipeChannel
which uses two (uni-directional) UNIX pipes and makes a Channel
out of them.
class NIOThreadPool
A thread pool that should be used if some (kernel thread) blocking work needs to be performed for which no non-blocking API exists.
class ServerBootstrap
A ServerBootstrap
is an easy way to bootstrap a ServerSocketChannel
when creating network servers.
class ThreadSpecificVariable
A ThreadSpecificVariable
is a variable that can be read and set like a normal variable except that it holds different variables per thread.
protocol Resolver
A protocol that covers an object that does DNS lookups.
struct NIOFailedToSetSocketNonBlockingError
NIOFailedToSetSocketNonBlockingError
indicates that NIO was unable to set a socket to non-blocking mode, either when connecting a socket as a client or when accepting a socket as a server.