ChannelError
An error that can occur on Channel
operations.
enum ChannelError
An error that can occur on Channel
operations.
enum ChannelError
case alreadyClosed
Close was called on a channel that is already closed.
case badInterfaceAddressFamily
The address family of the provided multicast group join is not valid for this Channel
.
case badMulticastGroupAddressFamily
The address family of the multicast group was not valid for this Channel
.
case connectPending
Tried to connect on a Channel
that is already connecting.
case connectTimeout(TimeAmount)
Connect operation timed out
case eof
A read operation reached end-of-file. This usually means the remote peer closed the socket but it’s still open locally.
case illegalMulticastAddress(SocketAddress)
An attempt was made to join a multicast group that does not correspond to a multicast address.
case inappropriateOperationForState
An operation that was inappropriate given the current Channel
state was attempted.
case inputClosed
Input-side of the channel is closed.
case ioOnClosedChannel
An I/O operation (e.g. read/write/flush) called on a channel that is already closed.
case operationUnsupported
Unsupported operation triggered on a Channel
. For example connect
on a ServerSocketChannel
.
case outputClosed
Output-side of the channel is closed.
case unknownLocalAddress
The local address of the Channel
could not be determined.
case unremovableHandler
An attempt was made to remove a ChannelHandler that is not removable.
case writeHostUnreachable
A DatagramChannel
write
was made with an address that was not reachable and so could not be delivered.
case writeMessageTooLarge
A DatagramChannel
write
was made with a buffer that is larger than the MTU for the connection, and so the datagram was not written. Either shorten the datagram or manually fragment, and then try again.
case multicastNotSupported(NIONetworkInterface)
Multicast is not supported on Interface